Spamassasin Rule Actions SpamScore negative values issue

Brad Triem brad at trinsictech.com
Mon Mar 16 16:54:19 GMT 2015


I was able to resolve the first issue of negative numbers. See attached patch file for MailScanner-4.84.6-1. One line regex modification to allow for negative numbers in SpamScore for Spamassassin Rule Actions. 

Regards, 
Brad 





From: "Brad Triem" <brad at trinsictech.com> 
To: "MailScanner discussion" <mailscanner at lists.mailscanner.info> 
Sent: Saturday, September 20, 2014 2:25:58 PM 
Subject: Spamassasin Rule Actions SpamScore negative values issue 




BQ_BEGIN

There appears to be a parsing issue when declaring a negative number when using Spamassassin Rule Actions: SpamScore. 

Working example: 

SpamScore<0=>store-/to/some/directory 

Failing example: 

SpamScore<-2=>store-/to/some/dirctory 

Also, on the same note, I would like to have multiple default FromOrTo: actions of the same type of check, but the below doesn't work. It only does the last action. 

FromOrTo: default SpamScore<0=>store-/to/some/directory SpamScore>10=>store-/to/some/other/dirctory 

Has anyone found a way around this or perhaps I'm doing something wrong? 

Regards, 
Brad 

BQ_END


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20150316/03c636f9/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Message.pm.patch
Type: text/x-patch
Size: 533 bytes
Desc: not available
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20150316/03c636f9/attachment.bin 


More information about the MailScanner mailing list