aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postfix/templates
diff options
context:
space:
mode:
Diffstat (limited to 'modules/postfix/templates')
-rw-r--r--modules/postfix/templates/main.cf4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/postfix/templates/main.cf b/modules/postfix/templates/main.cf
index 6d9dd222..59948191 100644
--- a/modules/postfix/templates/main.cf
+++ b/modules/postfix/templates/main.cf
@@ -37,6 +37,10 @@ relay_domains = <%= domain %>, ml.<%= domain %>
<%- end -%>
mydestination = <%= fqdn %>
+<%- if classes.include?('sympa::server') -%>
+ ml.<%= domain %>
+<%- end -%>
+
<%- if all_tags.include?('postfix::primary_smtp') -%>
virtual_mailbox_domains = <%= domain %>