I am hoping this will work. At work, I get lots of spam with Message-id
headers assigned by the local incoming mailer machine. Some spammers don't
create Message-id's. Maybe they are stupid. I do not know.
So if my domain contains xyz.com,
and an incoming message has a
Message-id: of xyz.com
it should also have a
From: with xyz.com.
So should the recipe below handle this stuff?
# if the message id was assigned by the XYZ.COM mailer machine,
# it better be from someone in the xyz.com domains.
# If not trash it. I sure hope this works.
:0
* ^Message-Id:.*xyz\.com
* !^From:.*xyz\.com
/dev/null