aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postfix/templates
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-11-19 20:19:03 +0000
committerMichael Scherer <misc@mageia.org>2010-11-19 20:19:03 +0000
commit7883d567b3a3a1e00268c1adbddbe353df37f150 (patch)
tree3c72b03456033bda67e252ecd461d4662f1b96ce /modules/postfix/templates
parentc67de61a2fa2adf5b76c173090778a2631be0d3a (diff)
downloadpuppet-7883d567b3a3a1e00268c1adbddbe353df37f150.tar
puppet-7883d567b3a3a1e00268c1adbddbe353df37f150.tar.gz
puppet-7883d567b3a3a1e00268c1adbddbe353df37f150.tar.bz2
puppet-7883d567b3a3a1e00268c1adbddbe353df37f150.tar.xz
puppet-7883d567b3a3a1e00268c1adbddbe353df37f150.zip
add support for sympa domain
Diffstat (limited to 'modules/postfix/templates')
-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 -%>