Karl,
> currently the spamassassin bayes database learns automatically (autolearn).
> New learned information are put into the journal file and syncronized to the
> database automatically. How can I disable the "sa-learn --sync" (or what
> ever it's done by amavis) to stop the automatic syncing (not the whole
> autolearn feature!). I want to sync myself via cronjob.
> I use amavisd-new-2.6.4 on CentOS5.
$ man Mail::SpamAssassin::Conf :
bayes_journal_max_size (default: 102400)
SpamAssassin will opportunistically sync the journal and the
database. It will do so once a day, but will sync more often if
the journal file size goes above this setting, in bytes. If set to
0, opportunistic syncing will not occur.
Btw, switching bayes to SQL would releave you from touble of
learning to journal and auto-expiration.
Mark
|