From 45e29a815565c5e5c536c3623ad79730c5a8339c Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Tue, 27 Feb 2018 20:49:28 +0000 Subject: Have secondary mail server relay everything to primary --- modules/postfix/templates/main.cf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/postfix') 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 -%> -- cgit v1.2.1