diff options
author | Pascal Terjan <pterjan@mageia.org> | 2017-04-22 22:54:30 +0100 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2017-04-22 22:54:30 +0100 |
commit | b96026a3e1c80ade6685fffb0bc3eca655444af8 (patch) | |
tree | 1a9595222bd5d45978bbe446ba9d65ace80087af /modules/postfix | |
parent | 0022b98ebb799ee451b3fbafd5ef6a318f90dfc9 (diff) | |
download | puppet-b96026a3e1c80ade6685fffb0bc3eca655444af8.tar puppet-b96026a3e1c80ade6685fffb0bc3eca655444af8.tar.gz puppet-b96026a3e1c80ade6685fffb0bc3eca655444af8.tar.bz2 puppet-b96026a3e1c80ade6685fffb0bc3eca655444af8.tar.xz puppet-b96026a3e1c80ade6685fffb0bc3eca655444af8.zip |
Add sympa aliases to sucuk
Diffstat (limited to 'modules/postfix')
-rw-r--r-- | modules/postfix/manifests/simple_relay.pp | 3 | ||||
-rw-r--r-- | modules/postfix/templates/simple_relay_main.cf | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/modules/postfix/manifests/simple_relay.pp b/modules/postfix/manifests/simple_relay.pp index 265960ae..1decbec3 100644 --- a/modules/postfix/manifests/simple_relay.pp +++ b/modules/postfix/manifests/simple_relay.pp @@ -2,4 +2,7 @@ class postfix::simple_relay inherits postfix { File['/etc/postfix/main.cf'] { content => template('postfix/simple_relay_main.cf'), } + File['/etc/postfix/sympa_aliases'] { + content => template('postfix/sympa_aliases'), + } } diff --git a/modules/postfix/templates/simple_relay_main.cf b/modules/postfix/templates/simple_relay_main.cf index fdb92675..9a00f9f5 100644 --- a/modules/postfix/templates/simple_relay_main.cf +++ b/modules/postfix/templates/simple_relay_main.cf @@ -41,6 +41,7 @@ transport_maps = regexp:/etc/postfix/transport_regexp mydestination = ml.<%= domain %> sympa_destination_recipient_limit = 1 sympabounce_destination_recipient_limit = 1 +virtual_alias_maps = regexp:/etc/postfix/sympa_aliases # needed by sympa to handle bounce, according to the doc recipient_delimiter = + # This is ugly for a simple relay but we need ml.mageia.org to accept email :( |