Regex question

Craig Daters craig at WESTPRESS.COM
Tue Jun 28 14:40:43 IST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Jun 28, 2005, at 4:59 AM, Rick Cooper wrote:

>> -----Original Message-----
>> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
>> Behalf Of Craig Daters
>> Sent: Monday, June 27, 2005 5:16 PM
>> To: MAILSCANNER at JISCMAIL.AC.UK
>> Subject: Re: Regex question
>>
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> I am using a dynamic IP block list with SpamAssassin, but the baysian
>> probability on these messages are so low that a negative score is 
>> being
>> attached. When the score for the dynamic list is applied, it is below
>> my threshold still, so I am trying to intercept these messages before
>> they make it MailScanner. Or maybe I can Isolate these specifically 
>> and
>> up the score for these specifically for anything that matches these
>> expressions?
>
> Look at the rules that are already getting hits and increase the 
> score, for
> instance if they are hitting  RCVD_IN_NJABL_DUL and/or  
> RCVD_IN_SORBS_DUL
>
> add something like this to your spamassasin.prefs.conf (or local.cf) 
> file
>
> score	RCVD_IN_NJABL_DUL 20.0
> score RCVD_IN_SORBS_DUL 20.0
>
> or place the following in your local.cf (Custom rule)
>
> header 	VERIZON_DU Received =~ /pool.*?\.verizon\.net/i
> describe    VERIZON_DU HEADER: Verizon Dialup Pool
> score		VERIZON_DU 20.0
>
> Of course I make the assumption that a score of 20.0 hits high enough 
> to
> prevent delivery, adjust as required.
>
> You should also look at how you are feeding your baysian database. You
> should have some facility to unlearn and re-learn these messages if 
> they are
> scoring so low.

I am using MailWatch for MailScanner so learning and unlearning of 
messages is not a problem. I have been feeding all of these to the 
Baysian database to bring their scores up to an acceptable level, and I 
will certainly add a rule as well for SpamAssassin. I would prefer to 
stop these at the MTA level entirely and save to CPU power this would 
otherwise generate, but this is a start.

Thank you everyone for your help and input.

- ---
Craig Daters (craig at westpress.com)
Systems Administrator

West Press
1663 West Grant Road
Tucson, Arizona 85745

(520) 624-4939 x208
(520) 624-2715 fax
www.westpress.com

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.1

iQA/AwUBQsFTYBBVT8XLuTbnEQI38ACg11CN9G6DZWuys5Sr7gyNKa1X/ygAni12
UIq4M/iUJvEvm9+iuJPo7TAk
=na4R
-----END PGP SIGNATURE-----


--
Please note: It is the policy of West Press that all e-mail
sent to and from any @westpress.com address may be recorded
and monitored. Unless it is West Press related business,
please do not send any material of a private, personal,
or confidential nature to this or any @westpress.com
e-mail address.

This message has been scanned for UCE (spam), viruses,
and dangerous content, and is believed to be clean 

------------------------ 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 Wiki (http://wiki.mailscanner.info/) 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