postfix: apply fix against smtp mail smuggling

This commit is contained in:
Rouven Seifert 2023-12-22 23:39:09 +01:00
parent 956ce2fb35
commit b8e950d5d0
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

@ -115,6 +115,10 @@ in
"permit_mynetworks"
"reject_unauth_destination"
];
# https://www.postfix.org/smtp-smuggling.html
smtpd_data_restrictions = [
"reject_unauth_pipelining"
];
smtp_header_checks = "pcre:${header_cleanup}";
# smtpd_sender_login_maps = [ "ldap:${ldap-senders}" ];
alias_maps = [ "hash:/etc/aliases" ];