I suggest the following patch for spamassassin, which will also log the
actual spam score and threshold:

--- spamassassin.orig   Sun Sep 19 16:04:34 2004
+++ spamassassin        Sun Sep 19 16:05:20 2004
@@ -179,8 +179,9 @@
   my $score = $self->get_spam_score($transaction) or return DECLINED;
   $self->log(6, "check_spam_reject: score=$score");

-  return (DENY, "spam score exceeded threshold")
-    if $score >= $self->{_args}->{reject_threshold};
+  my $threshold = $self->{_args}->{reject_threshold};
+  return (DENY, "spam score $score exceeded threshold $threshold")
+    if $score >= $threshold;

   $self->log(6, "check_spam_reject: passed");
   return DECLINED;

-kju

-- 
      It's an insane world, but i'm proud to be a part of it. -- Bill Hicks

Reply via email to