aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postfix/templates/primary_main.cf
diff options
context:
space:
mode:
Diffstat (limited to 'modules/postfix/templates/primary_main.cf')
-rw-r--r--modules/postfix/templates/primary_main.cf6
1 files changed, 5 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