smtpd_hide_session_info (default: no)
Hide SMTP session info from the Received: message header. Do not
record the SMTP client name or IP address, SASL login name, or TLS
session details. This reduces the Received: header from:
Received: from <client name/address, SASL login, TLS details>
by servername (Postfix) with XXXX id yyy; server-date-stamp
to:
Received: by servername (Postfix) with XXXX id yyy; server-date-stamp
I don't know if this is something worth mentioning.
Currently on version 3.5.25 the header looks like this, which includes a "for
<recipient address>" not included in the above new feature. Or was this extra
bit removed in later versions?
Received: from host.example.com (localhost [127.0.0.1])
by host.example.com (Postfix) with ESMTPA id 4Ynf1c6Cs9z4l3g7
for <recei...@example.com>; Tue, 4 Feb 2025 17:59:00 -0500 (EST)
The header_checks parameter is not used in the SMTP daemon (smtpd).
I might have misunderstood the point of this as im jumping in late, but there
is both `header_checks` and `smtp_header_checks`.
Normal header checks get applied to (smtpd) mail being received on port 25 on
it's way to final destination.
And Smtp header checks get applied to (smtp) mail received by submission on
its way out to the world.
To protect submission user's privacy and not review their IP in a `Received:`
header i do:
main.cf
smtp_header_checks = pcre:/etc/postfix/smtp_header_checks
/etc/postfix/smtp_header_checks:
/^Received:/ IGNORE
I believe this to be trivial in reference to the comment of there being
non-trivial header check options. Unless I misunderstood completely what was
being said.
While it's neat to have an option to disable postfix from ever including the
submission IP in a header for privacy. I wonder if there is any benefit to
leaving a stripped out header at all? What is the use of a header that simply
tells you that the server delivering a piece of mail received that mail.
Logically assumed already. Is there another benefit I am not aware of?
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org