aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/postfix/templates/main.cf7
1 files changed, 7 insertions, 0 deletions
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') -%>