"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
- Auto learning Paul J. Smith
- Re: Auto learning Richard Ozer
- RE: Auto learning Paul J. Smith
- RE: Auto learning Paul J. Smith
- Re: Auto learning Richard Ozer
- RE: Auto learning Andy Jezierski
- RE: Auto learning Paul J. Smith
- RE: Auto learning Paul J. Smith