On Thu, 15 Mar 2012, Chris Hunt wrote:
On 3/15/2012 2:53 PM, RW wrote:
On Thu, 15 Mar 2012 14:27:53 -0700
Chris Hunt wrote:
I'm trying to eliminate opportunistic bayes expirations and run them
via cron.
bayes_auto_expire 0
RW,
Thanks for the rapid reply... I have RT*M AFAIK. Sorry, I should have
posted the relevant bits of my config:
use_bayes 1
bayes_auto_learn 1
bayes_store_module Mail::SpamAssassin::BayesStore::MySQL
bayes_auto_expire 0
Does the community feel confident that the "bayes_auto_expire 0" extends
to the auto_learn function? I guess I could disable the cron job and
watch "sa-learn --dump magic " to double-check, although I've no idea
how to interpret that output.
Also, do you think it's important to stop spamassassin before running
the force-expire routine as documented in
http://wiki.apache.org/spamassassin/BayesForceExpire? I can't imagine
why...
If you're using a file based (BerkeleyDB) bayes-store scanning can come to
a halt during the expire (dabase is locked) and if it takes long enough
will time-out message processing.
However as you're using a MySQL store this shouldn't (???) be an issue.
(??? not sure as I don't use MySQL store, somebody else can chime in).
--
Dave Funk University of Iowa
<dbfunk (at) engineering.uiowa.edu> College of Engineering
319/335-5751 FAX: 319/384-0549 1256 Seamans Center
Sys_admin/Postmaster/cell_admin Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{