On Tue, Aug 06, 2024 at 05:45:59PM -0400, Wietse Venema via Postfix-users wrote:
> Laura Smith via Postfix-users:
> [...]
> > Here's what I've done:
> >
> > 1/ Create header_checks file with the following:
> > /^Received:/ IGNORE
> > /^User-Agent:/ IGNORE
> > /^X-Mailer:/ IGNORE
> > /^X-User-Agent:/ IGNORE
> > [...]
> > -o cleanup_service_name=myheadercleanup
>
> You may want to check that with
>
> postmulti -i postfix-myrelay -x postconf -P header_checks
Indeed, but I would also recommend to not entirely delete the Received
headers, rather censor just the IP address or other "private" fields.
Some receiving MTAs treat absence of origin Received headers as a sign
of plausible email abuse.
--
Viktor.
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]