diff options
author | Michael Scherer <misc@mageia.org> | 2010-11-19 20:19:02 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2010-11-19 20:19:02 +0000 |
commit | c67de61a2fa2adf5b76c173090778a2631be0d3a (patch) | |
tree | c352b41e7a0cfaeabe694cee6a02cc096ce5f619 | |
parent | 40d4203c0e8361f03380283c0d1a0e0bfe72bd53 (diff) | |
download | puppet-c67de61a2fa2adf5b76c173090778a2631be0d3a.tar puppet-c67de61a2fa2adf5b76c173090778a2631be0d3a.tar.gz puppet-c67de61a2fa2adf5b76c173090778a2631be0d3a.tar.bz2 puppet-c67de61a2fa2adf5b76c173090778a2631be0d3a.tar.xz puppet-c67de61a2fa2adf5b76c173090778a2631be0d3a.zip |
- fix config for secondary smtp
-rw-r--r-- | modules/postfix/templates/main.cf | 8 |
1 files 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 -%> |