-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 M.Lewis wrote: > > Is there a best practices recommendation for how often to run sa-learn ?
In addition to all the good responses you've had I would add that if you keep the spam after learning, as I do (in case the bayes DB get killed) then it can sometimes take a while for sa-learn to finish, even though it will skip messages it has already seen. I learn from 5 mailboxes (ham and spam) and recently hit a problem where one sa-learn had not finished by the time the next one started, and failed because the DB (using file-based db) was locked. Long story short, if you want to run multiple sa-learn's from cron, space them out by an hour or so... D'oh! Perhaps one day I'll get around to putting a feature request into bugzilla to ask for sa-learn to check for already running instances and wait for them to finish. I'd love to write it, but unless you want it in ksh.... C. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD4DBQFDU/KVMDDagS2VwJ4RAolZAJif6CSxo/B1BA05aAP87QRjRSRBAJ0YSgpP XwdE0aELWqspp2elhCdqeg== =H1VU -----END PGP SIGNATURE-----