aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postfix/templates/simple_relay_main.cf
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/simple_relay_main.cf
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/simple_relay_main.cf')
-rw-r--r--modules/postfix/templates/simple_relay_main.cf6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/postfix/templates/simple_relay_main.cf b/modules/postfix/templates/simple_relay_main.cf
index e0c116a7..331166c2 100644
--- a/modules/postfix/templates/simple_relay_main.cf
+++ b/modules/postfix/templates/simple_relay_main.cf
@@ -20,8 +20,8 @@ mail_owner = postfix
# User configurable parameters
-myhostname = <%= fqdn %>
-mydomain = <%= domain %>
+myhostname = <%= @fqdn %>
+mydomain = <%= @domain %>
inet_protocols = all
mynetworks_style = host
#delay_warning_time = 4h
@@ -38,7 +38,7 @@ smtpd_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
local_recipient_maps =
fallback_transport_maps = regexp:/etc/postfix/transport_regexp
transport_maps = regexp:/etc/postfix/transport_regexp
-mydestination = ml.<%= domain %>
+mydestination = ml.<%= @domain %>
sympa_destination_recipient_limit = 1
sympabounce_destination_recipient_limit = 1
virtual_alias_maps = regexp:/etc/postfix/sympa_aliases