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 4/ Reloaded postfix /usr/sbin/postmulti -i postfix-myrelay -p reload _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org