Hi,

I've been having problems with recuring spam getting through. It pretty
much looks the same, and I'd like to add a rule to my local.cf file. For
now, I've added the following:

header X_ORIG_EMAIL    X-Originating-Email =~ \[.*@(msn|hotmail|yahoo)\.com\]
describe   X_ORIG_EMAIL    X-Originating-Email contains suspect domain
score  X_ORIG_EMAIL    1

But what I'd really like to do is compare the X-Originating-Email header
to the From header's email address (scoring a 2 or 2.5 if they don't
match). Is this possible using spamassassin? Looking through the
config/rule files, it doesn't appear as though you can extract and save
substrings for comparison. Is this correct?

Thanks!
js.
-- 
Jean-Sebastien Morisset, Sr. UNIX Administrator <[EMAIL PROTECTED]>
Underwater and Travel Photographs <http://www.mvpix.com/>
Personal Home Page <http://jsmoriss.mvlan.net/>


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to