diff --git a/etc/postfix/main.cf b/etc/postfix/main.cf index 4873b5d..962f368 100644 --- a/etc/postfix/main.cf +++ b/etc/postfix/main.cf @@ -74,7 +74,7 @@ smtpd_helo_restrictions = check_helo_access hash:/etc/postfix/helo_checks # anti-spam settings smtpd_milters = inet:127.0.0.1:11332 non_smtpd_milters = inet:127.0.0.1:11332 -milter_default_action = accept +milter_default_action = tempfail milter_protocol = 6 header_checks = regexp:/etc/postfix/header_checks body_checks = regexp:/etc/postfix/body_checks @@ -84,5 +84,7 @@ smtpd_delay_reject = yes smtpd_helo_required = yes strict_rfc821_envelopes = yes default_destination_concurrency_limit = 2 -smtpd_recipient_limit = 10 +smtpd_recipient_limit = 5 smtp_pix_workarounds = delay_dotcrlf +smtpd_forbid_bare_newline = yes +smtpd_forbid_unauth_pipelining = yes