adding enable_original_recipient=no to postfix, prevents duplicate emails for either AMAVIS-filtered mail, or ALIAS+IMAP multiple destination received emails. also set a max mail size of 100MB
This commit is contained in:
parent
b3a1763839
commit
b7c2b7d7fd
|
@ -35,3 +35,6 @@ transport_maps=proxy:mysql:/etc/postfix/myrelay.cf
|
||||||
relay_domains=proxy:mysql:/etc/postfix/myrelay.cf
|
relay_domains=proxy:mysql:/etc/postfix/myrelay.cf
|
||||||
relay_recipients_map=proxy:mysql:/etc/postfix/myvirtual.cf
|
relay_recipients_map=proxy:mysql:/etc/postfix/myvirtual.cf
|
||||||
smtpd_recipient_restrictions = reject_unlisted_recipient, permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_recipient, reject_unauth_destination, check_policy_service inet:127.0.0.1:60000, reject_rbl_client zen.spamhaus.org
|
smtpd_recipient_restrictions = reject_unlisted_recipient, permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_recipient, reject_unauth_destination, check_policy_service inet:127.0.0.1:60000, reject_rbl_client zen.spamhaus.org
|
||||||
|
message_size_limit = 100000000
|
||||||
|
mailbox_size_limit = 0
|
||||||
|
enable_original_recipient = no
|
||||||
|
|
|
@ -51,3 +51,6 @@ milter_default_action = accept
|
||||||
milter_protocol = 6
|
milter_protocol = 6
|
||||||
smtpd_milters = inet:127.0.0.1:8891
|
smtpd_milters = inet:127.0.0.1:8891
|
||||||
non_smtpd_milters = inet:127.0.0.1:8891
|
non_smtpd_milters = inet:127.0.0.1:8891
|
||||||
|
message_size_limit = 100000000
|
||||||
|
mailbox_size_limit = 0
|
||||||
|
enable_original_recipient = no
|
||||||
|
|
Loading…
Reference in New Issue