[Mageia-sysadm] [274] use $domain

root at mageia.org root at mageia.org
Thu Nov 18 01:47:19 CET 2010


Revision: 274
Author:   boklm
Date:     2010-11-18 01:47:19 +0100 (Thu, 18 Nov 2010)
Log Message:
-----------
use $domain

Modified Paths:
--------------
    puppet/modules/postfix/templates/primary_transport_regexp

Modified: puppet/modules/postfix/templates/primary_transport_regexp
===================================================================
--- puppet/modules/postfix/templates/primary_transport_regexp	2010-11-18 00:43:41 UTC (rev 273)
+++ puppet/modules/postfix/templates/primary_transport_regexp	2010-11-18 00:47:19 UTC (rev 274)
@@ -1,2 +1,5 @@
-/^.*+owner\@ml\.mageia\.org$/ sympabounce:
-/^.*\@ml\.mageia\.org$/       sympa:
+<%
+ml_domain = 'ml\.' + domain.gsub('.','\.')
+%>
+/^.*+owner\@<%= ml_domain %>$/ sympabounce:
+/^.*\@<%= ml_domain %>$/       sympa:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101118/49b7fae8/attachment.html>


More information about the Mageia-sysadm mailing list