From 626176bdb47c170a2314c17e8d6325e7a880d502 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Fri, 19 Nov 2010 20:19:06 +0000 Subject: add directive for aliases ( with a note for ldap alias ), and white space --- modules/postfix/templates/main.cf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/postfix/templates/main.cf b/modules/postfix/templates/main.cf index affa0d3d..41790325 100644 --- a/modules/postfix/templates/main.cf +++ b/modules/postfix/templates/main.cf @@ -45,8 +45,15 @@ mydestination = <%= fqdn %> <%- if classes.include?('sympa') -%> ml.<%= domain %> <%- end -%> + +alias_maps = hash:/etc/aliases + # uncomment if we want to enable ldap based alias + # and create the file + #ldap:/etc/postfix/ldap_aliases.conf <%- end -%> + transport_maps = regexp:/etc/postfix/transport_regexp + <%- end -%> <%- if classes.include?('sympa') -%> -- cgit v1.2.1