diff options
Diffstat (limited to 'modules/postfix/templates')
-rw-r--r-- | modules/postfix/templates/primary_main.cf | 6 | ||||
-rw-r--r-- | modules/postfix/templates/primary_master.cf | 6 | ||||
-rw-r--r-- | modules/postfix/templates/primary_transport_regexp | 2 |
3 files changed, 13 insertions, 1 deletions
diff --git a/modules/postfix/templates/primary_main.cf b/modules/postfix/templates/primary_main.cf index 4281f42d..caef61b8 100644 --- a/modules/postfix/templates/primary_main.cf +++ b/modules/postfix/templates/primary_main.cf @@ -28,8 +28,12 @@ inet_protocols = all mynetworks_style = host myhostname = <%= fqdn %> mydomain = <%= domain %> -mydestination = <%= fqdn %>, ml.<%= domain %> +mydestination = <%= fqdn %> myorigin = $mydomain +relay_domains = $mydestination, ml.<%= domain %> +transport_maps = regexp:/etc/postfix/transport_regexp +sympa_destination_recipient_limit = 1 +sympabounce_destination_recipient_limit = 1 #delay_warning_time = 4h smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandriva Linux) unknown_local_recipient_reject_code = 450 diff --git a/modules/postfix/templates/primary_master.cf b/modules/postfix/templates/primary_master.cf index 322fe6b0..93ccbf7d 100644 --- a/modules/postfix/templates/primary_master.cf +++ b/modules/postfix/templates/primary_master.cf @@ -116,6 +116,12 @@ cyrus-inet unix - - y - - lmtp #mailman unix - n n - - pipe # flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py # ${nexthop} ${user} + +sympa unix - n n - - pipe + flags=R user=sympa argv=/usr/sbin/queue ${recipient} +sympabounce unix - n n - - pipe + flags=R user=sympa argv=/usr/sbin/bouncequeue ${user} + # ##### START OF CONTENT FILTER CUSTOMIZATIONS ##### # Please see the Postfix FILTER_README for details. diff --git a/modules/postfix/templates/primary_transport_regexp b/modules/postfix/templates/primary_transport_regexp new file mode 100644 index 00000000..08dbdc37 --- /dev/null +++ b/modules/postfix/templates/primary_transport_regexp @@ -0,0 +1,2 @@ +/^.*+owner\@ml\.mageia\.org$/ sympabounce: +/^.*\@ml\.mageia\.org$/ sympa: |