mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 23:07:23 +08:00
postfix - update the smuggling details for 3.8.5.
The previous 'yes' is now aliased to 'normalize' which will be the default in postfix-3.9, so prefer that. It now only rejects if the bare newlines are in the DATA section of the mail, to provide better compatibility with existing SMTP clients. If a site needs to reject mails with bare newlines in the message body, the value can be changed to 'reject'. See https://www.openwall.com/lists/oss-security/2024/01/22/1
This commit is contained in:
parent
fe1f174292
commit
9f3382f62c
@ -411,11 +411,12 @@ echo 'alias_maps = lmdb:/etc/aliases' >> /etc/postfix/main.cf</userinp
|
||||
To protect your server against the recent SMTP smuggling attacks,
|
||||
additional steps are required. Add two lines into
|
||||
<filename>/etc/postfix/main.cf</filename> to disconnect remote SMTP
|
||||
clients that send bare newlines, while also allowing clients on your
|
||||
network with non-standard SMTP implementations to still send mail:
|
||||
clients that send bare newlines in the DATA section, while also
|
||||
allowing clients on your network with non-standard SMTP implementations
|
||||
to still send mail:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>echo 'smtpd_forbid_bare_newline = yes' >> /etc/postfix/main.cf &&
|
||||
<screen role="root"><userinput>echo 'smtpd_forbid_bare_newline = normalize' >> /etc/postfix/main.cf &&
|
||||
echo 'smtpd_forbid_bare_newline_exclusions = $mynetworks' >> /etc/postfix/main.cf</userinput></screen>
|
||||
|
||||
<para>
|
||||
|
Loading…
Reference in New Issue
Block a user