Re: Can't get sa-learn to work

2006-09-08 Thread Loren Wilton
AHA! That brings me to my other question on this mailing list "Which DB is actually used?". General rule for learning: learn as the user you use to filter mail. Corolary: don't learn as root, since SA never runs as root. You can generally set up SA two different ways: site-wide bayes, or ind

Re: Can't get sa-learn to work

2006-09-08 Thread Bo Mellberg
Loren Wilton skrev: max:~# sa-learn --dump magic 0.000 0 3 0 non-token data: bayes db version 0.000 0 0 0 non-token data: nspam 0.000 0 0 0 non-token data: nham 0.000 0 0 0 non-token

Re: Can't get sa-learn to work

2006-09-08 Thread Loren Wilton
max:~# sa-learn --dump magic 0.000 0 3 0 non-token data: bayes db version 0.000 0 0 0 non-token data: nspam 0.000 0 0 0 non-token data: nham 0.000 0 0 0 non-token data: ntokens 0.000

Re: Can't get sa-learn to work

2006-09-07 Thread Bo Mellberg
Theo Van Dinter skrev: On Thu, Sep 07, 2006 at 11:27:36AM +0200, Bo Mellberg wrote: max:/#sa-learn -D --sync which would upgrade the db from version 0 to version 2. FWIW, the upgrade occurs anytime a DB write is attempted, --sync just forces a write. OK. Got it. [25567] dbg: bayes: foun

Re: Can't get sa-learn to work

2006-09-07 Thread Theo Van Dinter
On Thu, Sep 07, 2006 at 11:27:36AM +0200, Bo Mellberg wrote: > max:/#sa-learn -D --sync > > which would upgrade the db from version 0 to version 2. FWIW, the upgrade occurs anytime a DB write is attempted, --sync just forces a write. > [25567] dbg: bayes: found bayes db version 0 > [25567] dbg: