aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postfix
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2018-02-27 20:49:28 +0000
committerPascal Terjan <pterjan@mageia.org>2018-02-27 20:49:28 +0000
commit45e29a815565c5e5c536c3623ad79730c5a8339c (patch)
treed87610312d6e16d4d44753b465dc4fa1c3aa426c /modules/postfix
parentb36ab8b5dc53e21d704dd10aa8fd68892339aa07 (diff)
downloadpuppet-45e29a815565c5e5c536c3623ad79730c5a8339c.tar
puppet-45e29a815565c5e5c536c3623ad79730c5a8339c.tar.gz
puppet-45e29a815565c5e5c536c3623ad79730c5a8339c.tar.bz2
puppet-45e29a815565c5e5c536c3623ad79730c5a8339c.tar.xz
puppet-45e29a815565c5e5c536c3623ad79730c5a8339c.zip
Have secondary mail server relay everything to primary
Diffstat (limited to 'modules/postfix')
-rw-r--r--modules/postfix/templates/main.cf2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/postfix/templates/main.cf b/modules/postfix/templates/main.cf
index 2c7408c6..547acf36 100644
--- a/modules/postfix/templates/main.cf
+++ b/modules/postfix/templates/main.cf
@@ -24,7 +24,7 @@ newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
queue_directory = /var/spool/postfix
mail_owner = postfix
-<% if all_tags.include?('postfix::simple_relay') %>
+<% if all_tags.include?('postfix::simple_relay') || all_tags.include?('postfix::server::secondary') %>
relayhost = sucuk.<%= domain %>
<%- end -%>