What does Postfix stamp in the email headers when email comes into it?
I need to control this for spam filtering purposes.  I started using
amavis and a header line I was depending on, X-Originating-IP,
disappeared.  I thought postfix was adding this header line, but maybe
it wasn't.  I need something like that that sticks out.  What I'm trying
to do is rip the IP address that connected to my server out of spam
email and build a list.  Then I'm using iptables QUEUE target to attempt
to block spam before it even gets on to my system.

With amavis, I guess that postfix receives a message, throws it to
amavis, and then amavis throws it back to postfix on another port.
Why isn't postfix stamping the remote IP address before it hands the
email off?

Reply via email to