https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6127





--- Comment #24 from Karsten Bräckelmann <[email protected]>  2009-06-10 
15:59:27 PST ---
(In reply to comment #23)
>       if (!$pms->{disable_auto_learning}) {
>         $whitelist->add_score($awlpoints);
>       }
> 
> This appears to fail when $meanscore is undefined.

I don't think so.  $meanscore is undef in my debugging run, too. It merely
means that address / originating net-block has not been seen before. Which
likely applies to most of your spam...

Moreover, it's not being used in add_score().


> Wed Jun 10 15:25:44 2009 [1187] dbg: auto-whitelist: (Gossamer) meanscore 
> undef

What exactly did you log here?

> Wed Jun 10 15:25:44 2009 [1187] dbg: auto-whitelist: add_score:
>  new count: 1, new totscore: 19.106

This is M::SA::DBBasedAddrList::add_score(). As I mentioned before, it might be
necessary to recurse into those functions adding yet more fine grained dbg
statements.

It is necessary. ;)  Also, did you make sure SA did *not* go beyond that block,
returning from the add_score() call?

Please add some visible hint to your custom dbg to easily distinguish them.


Hmm, just in case this does fail only for not previously seen AWL entries, how
large is your AWL database?
  /home/qscand/.spamassassin/auto-whitelist

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to