{Spam?} Re: A simple test custome rule?

Alex Broens ms-list at alexb.ch
Tue Jul 3 19:21:38 IST 2007


On 7/3/2007 8:04 PM, Rob Morin wrote:
> Ok so i see my rule now in the headers for the email,  so i guess its working... 
> however it seems that it would not work alone??
> 
>  IE, if i send a regular email with the text in the subject that i am looking 
> for, the email comes through with no score at all, even though i associated my 
> rule with a score of 2.75
> 
> Strange,  i guess there is something i am missing....
> 
> Yes, score=20.952 tag=-9999 tag2=4.5 kill=7.5 tests=[BAYES_99=3.5, 
> DIDO_PDF_ATTACHMENT_SUBJECT_RULE=2.75, HELO_DYNAMIC_IPADDR=4.2, 
> RCVD_IN_BL_SPAMCOP_NET=1.558, RCVD_IN_NJABL_DUL=2, RCVD_IN_PBL=0.001, 
> RCVD_IN_SORBS_DUL=2.046, RCVD_IN_XBL=4.897]
> 
> My rule is   DIDO_PDF_ATTACHMENT_SUBJECT_RULE=2.75
> 
> but if i send an email with .pdf in the subject  it does not get caught.... weird...
> 
> ### To catch that pdf attach email crap in the subject line
> header DIDO_PDF_ATTACHMENT_SUBJECT_RULE Subject =~ /.pdf/i
> score  DIDO_PDF_ATTACHMENT_SUBJECT_RULE 2.75
> describe DIDO_PDF_ATTACHMENT_SUBJECT_RULE PDF Crap

try escaping the period

Subject =~ /\.pdf/i

Alex



More information about the MailScanner mailing list