On Thu, 5 Mar 2009, Wietse Venema wrote:
I've found tricks to remove or edit Received headers for specific IP's via
'header_checks'; however, what I'd like to be able to do is either remove
the header altogether or modify the IP to one of the IP's that we own for
all authenticated users that submit mail via 465/587.
$ man header_checks | less +/IGNORE
$ man header_checks | less +/REPLACE
Thanks.. I've got that, but I'm not finding a way to only match mail that
comes in via Submission, and not via regular SMTP. Is there a way to tell
Postfix to only apply the header_checks to certain mail processes?
I suppose I could do something like 'no_header_body_checks' on the main
SMTP process, but it'd be nice to be able to do some checks there in the
future too.
-Nate