aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postfix
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-03-28 15:54:19 +0000
committerMichael Scherer <misc@mageia.org>2011-03-28 15:54:19 +0000
commit2c81a46979b30e59a51a0e2bf181bcdb6cea66ee (patch)
treef2d1f86437509f41c42d9fd6dceb83116ebe4a1b /modules/postfix
parent2930a8541e82545c3bd57408681353e72d17c4f6 (diff)
downloadpuppet-2c81a46979b30e59a51a0e2bf181bcdb6cea66ee.tar
puppet-2c81a46979b30e59a51a0e2bf181bcdb6cea66ee.tar.gz
puppet-2c81a46979b30e59a51a0e2bf181bcdb6cea66ee.tar.bz2
puppet-2c81a46979b30e59a51a0e2bf181bcdb6cea66ee.tar.xz
puppet-2c81a46979b30e59a51a0e2bf181bcdb6cea66ee.zip
add group subdomain on the secondary mx too
Diffstat (limited to 'modules/postfix')
-rw-r--r--modules/postfix/templates/main.cf4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/postfix/templates/main.cf b/modules/postfix/templates/main.cf
index 90486a35..fcedc936 100644
--- a/modules/postfix/templates/main.cf
+++ b/modules/postfix/templates/main.cf
@@ -33,7 +33,9 @@ mydomain = <%= domain %>
mydestination = <%= fqdn %>
myorigin = $mydomain
<%- if all_tags.include?('postfix::secondary_smtp') -%>
-relay_domains = <%= domain %>, ml.<%= domain %>
+relay_domains = <%= domain %>,
+ ml.<%= domain %>,
+ group.<%= domain %>
<%- end -%>
mydestination = <%= fqdn %>