On Thu, Jan 12, 2023 at 01:49:33PM -0500, [email protected] wrote:
> My solution...
>
> main.cf:
> smtp_header_checks = pcre:/etc/postfix/header_checks_smtp
>
>
> /etc/postfix/header_checks_smtp:
> /^Received:/ IGNORE
> /^X-Originating-Ip:/ IGNORE
That's a rather radical "solution". More typically one would just drop
"Received" headers known to be added by the local MTA (matching the
hostnname in "by" clause explicitly). As for "X-Originating-Ip:", if
you're the one not adding it, why remove it? And if you are adding it,
then why, if only to remove it?
--
Viktor.