bayes expiry not happening when it should

2015-08-05 Thread Ian Zimmerman
~$ grep '^bayes_expiry_max_db_size' ~/.spamassassin/user_prefs | awk '{print $2}' 200 ~$ sa-learn --force-expire bayes: synced databases from journal in 0 seconds: 2784 unique entries (2805 total entries) ~$ sa-learn --dump magic 0.000 0 3 0 non-token data: bayes

Re: bayes expiry not happening when it should

2015-08-05 Thread RW
On Tue, 4 Aug 2015 23:36:51 -0700 Ian Zimmerman wrote: ~$ grep '^bayes_expiry_max_db_size' ~/.spamassassin/user_prefs | awk '{print $2}' 200 ~$ sa-learn --force-expire 0.000 02009202 0 non-token data: ntokens ??wth??? I thought I _finally_ understood this stuff

Re: bayes expiry not happening when it should

2015-08-05 Thread Ian Zimmerman
On 2015-08-05 12:58 +0100, RW wrote: The number of tokens is within 0.5% of the configured value. It's designed to produce a value between 75% and roughly 150%. I can't quite parse that answer, so let's be more specific. Doc says: bayes_expiry_max_db_size (default: 15) What

Re: bayes expiry not happening when it should

2015-08-05 Thread RW
On Wed, 5 Aug 2015 07:47:20 -0700 Ian Zimmerman wrote: On 2015-08-05 12:58 +0100, RW wrote: The number of tokens is within 0.5% of the configured value. It's designed to produce a value between 75% and roughly 150%. I can't quite parse that answer, so let's be more specific. Doc

Re: bayes expiry not happening when it should

2015-08-05 Thread Ian Zimmerman
On 2015-08-05 19:34 +0100, RW wrote: What it actually does is estimate a cut-off time and then delete all tokens older than that. How it gets the cut-off time is described the next two sections: EXPIRE LOGIC and ESTIMATION PASS LOGIC. OMG. For one thing, are the clauses in the definition of