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 ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user Please visit http://www.ijs.si/software/amavisd/ regularly For administrativa requests please send email to rainer at openantivirus dot org