diff options
author | Jonas Smedegaard <dr@jones.dk> | 2014-10-14 20:45:47 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2014-10-14 20:45:47 +0200 |
commit | 66812e0d73bb87068a5173f07a8bb1be84c8735b (patch) | |
tree | b99f407b8bf0f2770dd8b45666df0f9ed3c1a059 | |
parent | cdd8b51b1504569c5d830a929256ae9901940e98 (diff) |
Add additional options for amavisd.
-rwxr-xr-x | postfix/postfix.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/postfix/postfix.sh b/postfix/postfix.sh index dce2c4e..5ac8f3e 100755 --- a/postfix/postfix.sh +++ b/postfix/postfix.sh @@ -387,11 +387,15 @@ EOF -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject - -o mynetworks_style=host + -o smtpd_data_restrictions=reject_unauth_pipelining + -o smtpd_end_of_data_restrictions= -o mynetworks=127.0.0.0/8 - -o strict_rfc821_envelopes=yes -o smtpd_error_sleep_time=0 -o smtpd_soft_error_limit=1001 + -o smtpd_hard_error_limit=1000 + -o smtpd_client_connection_count_limit=0 + -o smtpd_client_connection_rate_limit=0 + -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks EOF if [ -n "$dkimproxy" ]; then $postconf -c "$tempdir" -e 'content_filter = smtp-amavis:[127.0.0.1]:10028' |