]> Frank Brehm's Git Trees - config/helga-hetzner/etc.git/commitdiff
daily autocommit
authorFrank Brehm <frank@brehm-online.com>
Wed, 3 Jan 2024 12:07:34 +0000 (13:07 +0100)
committerFrank Brehm <frank@brehm-online.com>
Wed, 3 Jan 2024 12:07:34 +0000 (13:07 +0100)
postfix/main.cf

index 8752831df728492c70d4d2feb41b13b8bee1a578..62e1fb0eef44d659b5db3ea4150d1e7272afe4c4 100644 (file)
@@ -368,3 +368,11 @@ mailbox_size_limit = 524288000
 smtpd_banner = $myhostname ESMTP $mail_name $mail_version
 smtpd_sasl_authenticated_header = yes
 smtpd_tls_received_header = yes
+
+# 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
+