aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postfix
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-03-22 21:25:53 +0000
committerMichael Scherer <misc@mageia.org>2011-03-22 21:25:53 +0000
commitc373e51833c9348a6fe0a0f40989ccda7c5e4518 (patch)
tree6fe1182d0d2a4dd51f4aa183cef5aa9c1f3269b0 /modules/postfix
parent5ac24eeab649667b93e396617e87055f8ee09b9e (diff)
downloadpuppet-c373e51833c9348a6fe0a0f40989ccda7c5e4518.tar
puppet-c373e51833c9348a6fe0a0f40989ccda7c5e4518.tar.gz
puppet-c373e51833c9348a6fe0a0f40989ccda7c5e4518.tar.bz2
puppet-c373e51833c9348a6fe0a0f40989ccda7c5e4518.tar.xz
puppet-c373e51833c9348a6fe0a0f40989ccda7c5e4518.zip
- add back the domain for mailling list, this was not needed before as
the domain was not a virtual one
Diffstat (limited to 'modules/postfix')
-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 %>