Laura Smith via Postfix-users:
> I am running an instance of Postfix that is an authenticated relay.
>
> Overall it is working great except user IPs are leaking through Received
> headers.
>
> I thought I configured it right, but obviously not.
>
> 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
>
> 2/ Added the following to the instance master.cf
> myheadercleanup unix n - n - 0 cleanup
> -o header_checks=regexp:/etc/postfix-myrelay/header_checks
>
> 3/ Referenced it under
> submissions inet n - y - - smtpd
> submission inet n - y - - smtpd
> smtp inet n - y - - smtpd
>
> using the same options setting for all three:
> -o cleanup_service_name=myheadercleanup
You may want to check that with
postmulti -i postfix-myrelay -x postconf -P header_checks
> 4/ Reloaded postfix
>
> /usr/sbin/postmulti -i postfix-myrelay -p reload
Wietse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]