On 1 Dec 2017, at 8:44 (-0500), Tom Hendrikx wrote:
You're mistaken about postfix. It does not rewrite the From headers in
the way you describe, unless you explicitly configured it to.
It will if it is very old (<2.2) OR if it has an organically-evolved
configuration that has maintained backward-compatibility since 2.1. It
is also possible in a "Before-Queue Content Filter" smtpd-proxy
configuration that is commonly used with amavisd, if the after-filter
smtpd isn't prevented from treating its input as local (see
documentation of append_at_myorigin, which is on by default)
You should
change your postfix configuration, or verify the input data that
postfix
receives (maybe the addresses were already malformed before they
entered
your system?
The easy way to catch these messages is to set your machine name to
some
domain that never receives mail.
That's a good fix for a broader range of misbehaviors.
--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Currently Seeking Steady Work: https://linkedin.com/in/billcole