The following is now part of Postfix 3.10, which is back in the code freeze stage.
Wietse smtpd_hide_client_session (default: no) Do not include SMTP client session information in the Postfix SMTP server's Received: message header. o The default setting, "smtpd_hide_client_session = no", must be used for the port 25 MTA service. It provides information that is required by RFC 5321. o The setting "smtpd_hide_client_session = yes" may be used for the port 587 and 465 MUA services. This hides SMTP EHLO details, the SMTP client hostname and IP address, TLS session details, SASL login details, and SMTP protocol details. Depending on the number of recipients, a redacted Received: header has one of the following forms: Received: by mail.example.com (Postfix) id 4Yp5KT0HZjzCKBD for <u...@example.com>; Wed, 05 Feb 2025 11:29:11 -0500 (EST) Received: by mail.example.com (Postfix) id 4Yp5KT0HZjzCKBD; Wed, 05 Feb 2025 11:29:11 -0500 (EST) The redacted form hides that a message was received with SMTP, and therefore it is not required to provide the information required by RFC 5321. The form does still meet RFC 5322 requirements. This feature is available in Postfix >= 3.10. _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org