At 14:03 +0100 28-02-2005, Matthias Blaser wrote:
On Monday 28 February 2005 11.29, Billy Newsom wrote:
I've used Spamassassin and qmailscanner before, but I seem to have a
problem now with the verbose use of Spamassassin. I just installed
version 3.0.2 and 1.25.
[...]
X-Spam-Status: No, hits=? required=?
With Spamassassin 3.x the header displaying the spam scores change from
'hits=' to 'score=' but qmail-scanner looks for 'hits='... so you have
to change the pattern:
the line to change looks like this (only have 1.22 here, I suppose it's
the same problem with 1.25)
if (/^X-Spam-Status: (Yes|No), hits=(-?[\d\.]*) required=([\d\.]*)/) {
change it to
if (/^X-Spam-Status: (Yes|No), score=(-?[\d\.]*) required=([\d\.]*)/) {
That's already fixed, actually the regex is:
if (/^X-Spam-Status: (Yes|No), (hits|score)=(-?[\d\.]*) required=([\d\.]*)/) {
Regards
ST
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Qmail-scanner-general mailing list
Qmail-scanner-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general