aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postfix
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2010-11-18 00:47:19 +0000
committerNicolas Vigier <boklm@mageia.org>2010-11-18 00:47:19 +0000
commit18b2e6bb69813215662e4d25601840ebca79f3e8 (patch)
tree72c37621e51ecd1e32028dd8b700065d0baedaea /modules/postfix
parentdb30261f54242456c4e9f0905028e04bb264ad9d (diff)
downloadpuppet-18b2e6bb69813215662e4d25601840ebca79f3e8.tar
puppet-18b2e6bb69813215662e4d25601840ebca79f3e8.tar.gz
puppet-18b2e6bb69813215662e4d25601840ebca79f3e8.tar.bz2
puppet-18b2e6bb69813215662e4d25601840ebca79f3e8.tar.xz
puppet-18b2e6bb69813215662e4d25601840ebca79f3e8.zip
use $domain
Diffstat (limited to 'modules/postfix')
-rw-r--r--modules/postfix/templates/primary_transport_regexp7
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/postfix/templates/primary_transport_regexp b/modules/postfix/templates/primary_transport_regexp
index 08dbdc37..c1ca36cc 100644
--- a/modules/postfix/templates/primary_transport_regexp
+++ b/modules/postfix/templates/primary_transport_regexp
@@ -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: