From 368b2c02061f122640b367d86c5f9232d698a828 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Wed, 27 Jun 2012 20:18:16 -0400 Subject: [PATCH] spamassassin: further log message refinement --- plugins/spamassassin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/spamassassin b/plugins/spamassassin index d3b9710..23681b0 100644 --- a/plugins/spamassassin +++ b/plugins/spamassassin @@ -413,7 +413,7 @@ sub reject { } } - $self->adjust_karma( -1 ); + $self->connection->notes('karma', ($self->connection->notes('karma') - 1)); # default of media_unsupported is DENY, so just change the message $self->log(LOGINFO, "fail, $status, > $reject, $learn"); return ($self->get_reject_type(), "spam score exceeded threshold");