aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postfix/templates/sympa_aliases
diff options
context:
space:
mode:
authorDan Fandrich <danf@mageia.org>2024-10-04 19:28:06 -0700
committerDan Fandrich <danf@mageia.org>2024-10-04 19:28:06 -0700
commit2c7da66570999dcd21f11f976dc6ec27d820f45c (patch)
treeb97dd9f25df691c66b2be31b658cc6fec638d47e /modules/postfix/templates/sympa_aliases
parenta69863ece1973cf3eae488f30c657b57dfb89779 (diff)
downloadpuppet-2c7da66570999dcd21f11f976dc6ec27d820f45c.tar
puppet-2c7da66570999dcd21f11f976dc6ec27d820f45c.tar.gz
puppet-2c7da66570999dcd21f11f976dc6ec27d820f45c.tar.bz2
puppet-2c7da66570999dcd21f11f976dc6ec27d820f45c.tar.xz
puppet-2c7da66570999dcd21f11f976dc6ec27d820f45c.zip
Use @ when accessing variables in templates
Access without the @ symbol is the older method and is discouraged.
Diffstat (limited to 'modules/postfix/templates/sympa_aliases')
-rw-r--r--modules/postfix/templates/sympa_aliases6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/postfix/templates/sympa_aliases b/modules/postfix/templates/sympa_aliases
index 436e7a28..63650c84 100644
--- a/modules/postfix/templates/sympa_aliases
+++ b/modules/postfix/templates/sympa_aliases
@@ -1,8 +1,8 @@
# everything is handled with transports in postfix,
# but according to https://www.sympa.org/faq/postfix, we also need this one
<% escaped_domain = ( 'ml.' + domain ).sub('.','\.') %>
-/^(.*)-owner\@<%= escaped_domain %>$/ $1+owner@ml.<%= domain %>
+/^(.*)-owner\@<%= @escaped_domain %>$/ $1+owner@ml.<%= @domain %>
# redirect the mail from the ml domain to sysadmin
-/^listmaster\@<%= escaped_domain %>$/ listmaster@<%= domain %>
+/^listmaster\@<%= @escaped_domain %>$/ listmaster@<%= @domain %>
# errors are sent there, so that should also be redirected
-/^sympa-request\@<%= escaped_domain %>$/ listmaster@<%= domain %>
+/^sympa-request\@<%= @escaped_domain %>$/ listmaster@<%= @domain %>