Mail header From: rule

D. Dowling dde at TWN.TUV.COM
Thu Jan 13 03:00:50 GMT 2005


Hi

I have written a rule to search the From: field of a mail header. However,
SpamAssassin does not identify and mark mail from the search string in the
rule.

For example, I want SpamAssassin to search for mail from any address with
the suffix, tom.com,

header          TOM_AD_FROM             From =~ /tom\.com/im
describe        TOM_AD_FROM             From tom.com address
score           TOM_AD_FROM             1.5

URL testing and embedded mailto strings in the mail body are working fine.
I'm using v2.64.

Thanks

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list