aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/postfix/templates/main.cf5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/postfix/templates/main.cf b/modules/postfix/templates/main.cf
index 4b82bd9c..affa0d3d 100644
--- a/modules/postfix/templates/main.cf
+++ b/modules/postfix/templates/main.cf
@@ -41,7 +41,10 @@ relay_domains = <%= domain %>, ml.<%= domain %>
mydestination = <%= fqdn %>
<%- if all_tags.include?('postfix::primary_smtp') -%>
- <%= domain %>
+ <%= domain %>,
+<%- if classes.include?('sympa') -%>
+ ml.<%= domain %>
+<%- end -%>
<%- end -%>
transport_maps = regexp:/etc/postfix/transport_regexp
<%- end -%>