Just tried out the release candidate of SpamAssassin 2.60.
They have change the format of the X-Spam-Status line, so the tests used are
listed on this line rather than a new line. This causes the sa_max score to
look like:
Clear:RC:0:SA:1(7.3/5.5 tests=BAYES_90,HTML_MESSAGE,):.
The following patch fixes the problem, but I don't think it's backwards
compatible, and my grasp of regular expressions leaves a little to be
desired.
Hope this helps.
Chris Hine
--- sub-spamassassin.pl.std Thu Aug 21 15:50:44 2003
+++ sub-spamassassin.pl Thu Aug 21 15:50:57 2003
@@ -27,7 +27,7 @@
$sa_tag++;
} else {
#X-Spam-Status: No, hits=2.8 required=5.0
- if (/^X-Spam-Status: (Yes|No), hits=(.*) required=(.*)/) {
+ if (/^X-Spam-Status: (Yes|No), hits=(.*) required=(.*) tests=/) {
$sa_tag++;
$sa_status=1 if ($1 eq "Yes");
$sa_score=$2;$sa_max=$3;
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general