From 83d6c87415215fdbc1df0fc73283fa7897836862 Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Thu, 4 Jan 2024 20:42:15 +0100 Subject: [PATCH] mail: smtp smuggling related settings --- roles/mail/templates/postfix/main.cf.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/mail/templates/postfix/main.cf.j2 b/roles/mail/templates/postfix/main.cf.j2 index 815b3ba..eb3e95d 100644 --- a/roles/mail/templates/postfix/main.cf.j2 +++ b/roles/mail/templates/postfix/main.cf.j2 @@ -99,6 +99,9 @@ smtpd_recipient_restrictions = reject_unauth_pipelining reject_unverified_recipient +# SMTP Smuggling +smtpd_forbid_bare_newline = yes + # rspamd Milter setup smtpd_milters = inet:localhost:11332 non_smtpd_milters = inet:localhost:11332