From 5e491b96c02d9b1cece4557f2e0362443d0c82c1 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Wed, 3 Jan 2024 13:17:22 +0100 Subject: [PATCH] daily autocommit --- postfix/main.cf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/postfix/main.cf b/postfix/main.cf index bfce667..1e80281 100644 --- a/postfix/main.cf +++ b/postfix/main.cf @@ -95,4 +95,11 @@ smtp_tls_CApath = unknown_local_recipient_reject_code = 550 +# Optionally disconnect remote SMTP clients that send bare newlines, +# but allow local clients with non-standard SMTP implementations +# such as netcat, fax machines, or load balancer health checks. +# +smtpd_forbid_bare_newline = yes +smtpd_forbid_bare_newline_exclusions = $mynetworks + # vim: filetype=pfmain -- 2.39.5