Thanks. I am running 'sa-learn' as root. But you've given me an idea. Maybe it's looking in home\spamd for them when running user that user and in /root/./spamassassin when I'm running as root? I've just specified the path to bayes in local.cf, so we'll see if that makes any difference.
________________________________ From: Andy Jezierski [mailto:[EMAIL PROTECTED] Sent: 22 February 2005 15:19 To: users@spamassassin.apache.org Subject: RE: Auto learning "Paul J. Smith" <[EMAIL PROTECTED]> wrote on 02/22/2005 01:41:28 AM: > Still nothing. I set the owner on the bayes dbs to 'spamd' which is > the user the process is running under. I also set og+rw. Left > overnight, no change. Only 2 hams, depsite the autolearn having > picked loads of hams out of the feed with 'autolearn=spam/ham'. > I've just deleted the databases with 'sa-learn --clear' the a 'sa- > learn --sync' and reset the permissons again to spamd. Still > nothing is getting added though and I can't see any error messages, > even in debug mode. > > The output from sa-learn --sync -D is > > [EMAIL PROTECTED] .spamassassin]# sa-learn -D --sync [snip] > debug: bayes: 25498 tie-ing to DB file R/O /root/.spamassassin/bayes_toks > debug: bayes: 25498 tie-ing to DB file R/O /root/.spamassassin/bayes_seen > debug: bayes: found bayes db version 3 > debug: bayes: Not available for scanning, only 0 spam(s) in Bayes DB < 200 [snip] > Can anyone see anything wrong with this? > > I'm starting spamd with "-d -c -m5 -H -i 0.0.0.0 -A 192.168.0.0/24 -s local5" > > Can't understand how I got 2 hams in there in the first place! > > Thanks. Are you sure you're using the correct bayes files? In the debug above, it shows the bayes files in /root/.spamassassin yet you say that you're running sa under the spamd userid. On my system, my bayes files for the spamd userid are in /home/spamd/.spamassassin. May want to check that. Andy -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.3.0 - Release Date: 21/02/2005