aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postfix/templates
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2017-04-21 20:42:48 +0100
committerPascal Terjan <pterjan@mageia.org>2017-04-21 20:42:48 +0100
commit93848667bad2b528572cec8844d155753077d5fa (patch)
tree83493c225f54aa300e40ae1a558123b7a77eeac9 /modules/postfix/templates
parentda54be07b746a340c4b6dcd1039c5d878ba544b1 (diff)
downloadpuppet-93848667bad2b528572cec8844d155753077d5fa.tar
puppet-93848667bad2b528572cec8844d155753077d5fa.tar.gz
puppet-93848667bad2b528572cec8844d155753077d5fa.tar.bz2
puppet-93848667bad2b528572cec8844d155753077d5fa.tar.xz
puppet-93848667bad2b528572cec8844d155753077d5fa.zip
More support for sympa on non primary smtp
Diffstat (limited to 'modules/postfix/templates')
-rw-r--r--modules/postfix/templates/main.cf4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/postfix/templates/main.cf b/modules/postfix/templates/main.cf
index cc35fe52..0a38e971 100644
--- a/modules/postfix/templates/main.cf
+++ b/modules/postfix/templates/main.cf
@@ -74,6 +74,10 @@ virtual_alias_maps = ldap:/etc/postfix/ldap_aliases.conf
<%- if classes.include?('sympa::server') -%>
regexp:/etc/postfix/sympa_aliases
<%- end -%>
+<% else %>
+<%- if classes.include?('sympa::server') -%>
+virtual_alias_maps = regexp:/etc/postfix/sympa_aliases
+<%- end -%>
<%- end -%>