You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by peter pilsl <pi...@goldfisch.at> on 2009/07/14 14:39:56 UTC

use save_pattern_hits to debug Mail::SpamAssassin?

I have some serious problems with my Spam-Detection. I use a milter wrapped around Mail::SpamAssassin and occassionaly a Mail slips through with a quite low spamscore despite the fact that a later check gives it a high score.

So what I want is to get a list of all performed check and the score of this check.

According to the manpage the following should help:


save_pattern_hits
               If set to 1, the patterns hit can be retrieved from the "Mail::SpamAssassin::PerMsgStatus" object.  Used for debugging.


But when I look at the status-object (of type "Mail::SpamAssassin::PerMsgStatus") I dont get the information I'm looking for.

Thnx,
peter

Re: use save_pattern_hits to debug Mail::SpamAssassin?

Posted by Daniel Schaefer <da...@performanceadmin.com>.
> So what I want is to get a list of all performed check and the score of this check.
>
>   
If you want to see the scores of the successful checks in all emails, 
put this in your cf file:
add_header all Report _REPORT_

-- 
Dan Schaefer
Application Developer
Performance Administration Corp.


Re: use save_pattern_hits to debug Mail::SpamAssassin?

Posted by RW <rw...@googlemail.com>.
On Tue, 14 Jul 2009 13:39:56 +0100 (GMT+01:00)
peter pilsl <pi...@goldfisch.at> wrote:

> 
> I have some serious problems with my Spam-Detection. I use a milter
> wrapped around Mail::SpamAssassin and occassionaly a Mail slips
> through with a quite low spamscore despite the fact that a later
> check gives it a high score.

That behaviour is pretty common, the second time around it hits
blocklists, razor etc.