Benedict,

> I found bug # 3364 in the buglist and according to this it seems like a
> Debian issue. It doesn't seem to occur on other systems or at least it's
> not reproducable.
>
> The uri bl black is scored as nan again.
> It's really annoying as this is what probably is causing the score not
> to be counted correctly.


Please try the following patch (to 3.2.5).
It should produce a warning on stderr when some plugin
would attempt to add a NaN to score:

--- lib/Mail/SpamAssassin/PerMsgStatus.pm       (revision 703484)
+++ lib/Mail/SpamAssassin/PerMsgStatus.pm       (working copy)
@@ -2141,6 +2138,12 @@
       return;
     }
 
+    # this should not happen; warn about NaN
+    if ($score != $score) {
+      warn "rules: score '$score' for rule '$rule' in '$area' '$desc'";
+      return;
+    }
+
     # Add the rule hit to the score
     $self->{score} += $score;
 


Mark

Reply via email to