[Mageia-sysadm] [330] - fix config for secondary smtp

root at mageia.org root at mageia.org
Fri Nov 19 21:19:02 CET 2010


Revision: 330
Author:   misc
Date:     2010-11-19 21:19:02 +0100 (Fri, 19 Nov 2010)
Log Message:
-----------
- fix config for secondary smtp

Modified Paths:
--------------
    puppet/modules/postfix/templates/main.cf

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 -%>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101119/9821a68c/attachment.html>


More information about the Mageia-sysadm mailing list