aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postfix/templates/main.cf
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-03-28 15:54:16 +0000
committerMichael Scherer <misc@mageia.org>2011-03-28 15:54:16 +0000
commitb1cacd64a8ab2064915c77b6ec49c53514d75bd2 (patch)
treebd4fcd839bff3cbb2d87d9e72d4b9320c10263a7 /modules/postfix/templates/main.cf
parentbbcdd5eb94d1a08c478999c034de360a41885763 (diff)
downloadpuppet-b1cacd64a8ab2064915c77b6ec49c53514d75bd2.tar
puppet-b1cacd64a8ab2064915c77b6ec49c53514d75bd2.tar.gz
puppet-b1cacd64a8ab2064915c77b6ec49c53514d75bd2.tar.bz2
puppet-b1cacd64a8ab2064915c77b6ec49c53514d75bd2.tar.xz
puppet-b1cacd64a8ab2064915c77b6ec49c53514d75bd2.zip
- according to the documentation ( http://www.sympa.org/faq/postfix ),
the regexp do not match all address used by sympa ( see en of the pointed document ), and so sympa-bounce do not work.
Diffstat (limited to 'modules/postfix/templates/main.cf')
-rw-r--r--modules/postfix/templates/main.cf6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/postfix/templates/main.cf b/modules/postfix/templates/main.cf
index 8b952bcc..90486a35 100644
--- a/modules/postfix/templates/main.cf
+++ b/modules/postfix/templates/main.cf
@@ -58,12 +58,18 @@ local_recipient_maps =
# route ml to ryu ( ml being mageia-*@mageia )
fallback_transport_maps = regexp:/etc/postfix/transport_regexp
+# needed by sympa to handle bounce, according to the doc
+recipient_delimiter = +
+
alias_maps = hash:/etc/postfix/aliases
virtual_alias_maps = ldap:/etc/postfix/ldap_aliases.conf
ldap:/etc/postfix/group_aliases.conf
hash:/etc/postfix/virtual_aliases
+<%- if classes.include?('sympa::server') -%>
+ regexp:/etc/postfix/sympa_aliases
+<%- end -%>
<%- end -%>