Process on Message-ID header contents?

Steve Freegard steve.freegard at fsl.com
Tue Sep 28 21:49:15 IST 2010


On 28/09/10 20:26, Lew Wolfgang wrote:
> The "phx.gbl" in the Message-ID header is common in all these spams, as
> are the two addresses on the To: line.

All mail from Hotmail/Live will have Message-IDs ending in @phx.gbl, so 
you don't want to add a rule for that.

How about something like this (UNTESTED):

header __TO_WOLFGANG    To =~ /wolfgang\@sweet-haven\.com/i
header __TO_WOLFGANG79  To =~ /wolfgang79\@live\.com/i
meta LOCAL_WOLFGANG_SPAM (__TO_WOLFGANG && __TO_WOLFGANG79)
score LOCAL_WOLFGANG_SPAM 5.0

Regards,
Steve.


More information about the MailScanner mailing list