Revision
331
Author
misc
Date
2010-11-19 21:19:03 +0100 (Fri, 19 Nov 2010)

Log Message

add support for sympa domain

Modified Paths

Modified: puppet/modules/postfix/templates/main.cf
===================================================================
--- puppet/modules/postfix/templates/main.cf	2010-11-19 20:19:02 UTC (rev 330)
+++ puppet/modules/postfix/templates/main.cf	2010-11-19 20:19:03 UTC (rev 331)
@@ -41,7 +41,10 @@
 
 mydestination = <%= fqdn %>
 <%- if all_tags.include?('postfix::primary_smtp') -%>
-                <%= domain %>
+                <%= domain %>,
+<%-   if classes.include?('sympa') -%>
+                ml.<%= domain %>
+<%-   end -%>
 <%- end -%>
 transport_maps = regexp:/etc/postfix/transport_regexp
 <%- end -%>