Hello Mark,

Wednesday, February 23, 2005, 5:33:43 PM, you wrote:

M> How do I purge my bayes_* files? Especially, my bayes_journal is over 250
M> MB! I like it to re-init with a fresh start. But when I "echo -n >" the
M> files, and restart SA, I get dbase errors. So, how can I easily go about
M> this?

Don't purge/reinit the files, delete them. SA will recreate them when
it tries to check Bayes next, and will update them with new
auto-learned emails and/or your next sa-learn.

However, IMO the journal file should be tiny, and most of your Bayes
data should be in _seen and _toks.  The journal only holds data
temporarily until _seen and _toks can be updated, I believe.

You may have other problems in your Bayes system which is preventing
the journal file from being naturally emptied.

Deleting all of the files completely might clear that up.

Bob Menschel



Reply via email to