You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by theevilpharoh <ju...@lach.net> on 2008/03/11 15:11:51 UTC

--force-expire with negative number in reduction goal

Hi all,

we currently run spamassassin 3.2.1 on gentoo with vpopmail and qmail.  when
I try to do an sa-learn -D -u email@domain.tld --force-expire.  I get: 

[11279] dbg: bayes: using username: email@domain.tld
[11279] dbg: bayes: database connection established
[11279] dbg: bayes: found bayes db version 3
[11279] dbg: bayes: Using userid: 1
[11279] dbg: config: score set 3 chosen.
[11279] dbg: learn: initializing learner
[11279] dbg: bayes: bayes journal sync starting
[11279] dbg: bayes: bayes journal sync completed
[11279] dbg: bayes: expiry starting
[11279] dbg: bayes: expiry check keep size, 0.75 * max: 112500
[11279] dbg: bayes: token count: 37817, final goal reduction size: -74683
[11279] dbg: bayes: reduction goal of -74683 is under 1,000 tokens, skipping
expire
[11279] dbg: bayes: expiry completed

A dump magic of the same user:

0.000          0          3          0  non-token data: bayes db version
0.000          0       3455          0  non-token data: nspam
0.000          0        676          0  non-token data: nham
0.000          0      37817          0  non-token data: ntokens
0.000          0 1201798086          0  non-token data: oldest atime
0.000          0 1205244478          0  non-token data: newest atime
0.000          0          0          0  non-token data: last journal sync
atime
0.000          0 1205244520          0  non-token data: last expiry atime
0.000          0          0          0  non-token data: last expire atime
delta
0.000          0          0          0  non-token data: last expire
reduction count

All these are in SQL as well (MySQL 5)

Any ideas would be greatly appreciated!
-- 
View this message in context: http://www.nabble.com/--force-expire-with-negative-number-in-reduction-goal-tp15976536p15976536.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: --force-expire with negative number in reduction goal

Posted by Theo Van Dinter <fe...@apache.org>.
On Tue, Mar 11, 2008 at 07:11:51AM -0700, theevilpharoh wrote:
> we currently run spamassassin 3.2.1 on gentoo with vpopmail and qmail.  when
> I try to do an sa-learn -D -u email@domain.tld --force-expire.  I get: 
> 
> [11279] dbg: bayes: expiry starting
> [11279] dbg: bayes: expiry check keep size, 0.75 * max: 112500
> [11279] dbg: bayes: token count: 37817, final goal reduction size: -74683
> [11279] dbg: bayes: reduction goal of -74683 is under 1,000 tokens, skipping
> expire
> [11279] dbg: bayes: expiry completed
> 
> Any ideas would be greatly appreciated!

What's the problem?  You're asking SA to do an expire run, but don't have
enough tokens to do an expiry, so it doesn't.

-- 
Randomly Selected Tagline:
"I did it the old fashioned way... I begged."      - Wolf