From c67de61a2fa2adf5b76c173090778a2631be0d3a Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Fri, 19 Nov 2010 20:19:02 +0000 Subject: - fix config for secondary smtp --- modules/postfix/templates/main.cf | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/postfix/templates/main.cf b/modules/postfix/templates/main.cf index e4a29ea7..4b82bd9c 100644 --- a/modules/postfix/templates/main.cf +++ b/modules/postfix/templates/main.cf @@ -35,9 +35,11 @@ myhostname = <%= fqdn %> mydomain = <%= domain %> mydestination = <%= fqdn %> myorigin = $mydomain -<%- if all_tags.include?('postfix::smtp_server') -%> -relay_domains = $mydestination, - ml.<%= domain %>, +<%- if all_tags.include?('postfix::secondary_smtp') -%> +relay_domains = <%= domain %>, ml.<%= domain %> +<%- end -%> + +mydestination = <%= fqdn %> <%- if all_tags.include?('postfix::primary_smtp') -%> <%= domain %> <%- end -%> -- cgit v1.2.1