Modified: puppet/modules/postfix/templates/main.cf =================================================================== --- puppet/modules/postfix/templates/main.cf 2010-11-19 20:19:01 UTC (rev 329) +++ puppet/modules/postfix/templates/main.cf 2010-11-19 20:19:02 UTC (rev 330) @@ -35,9 +35,11 @@ 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 -%>