aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postfix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/postfix')
-rw-r--r--modules/postfix/manifests/simple_relay.pp3
-rw-r--r--modules/postfix/templates/simple_relay_main.cf1
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 :(