Hi, required_hits 7 report_safe 0 rewrite_header Subject [SPAM] bayes_auto_learn 1 skip_rbl_checks 0 use_razor2 1 use_dcc 1 use_pyzor 0
dns_available yes I think I may have just sust this. I just found a bayes db in /home/root/.spamassassin, whereas I have been testing things logged in a root and was looking at /root/.spamassassin. It is being updated! I was running things as root, so it was picking up a different database. So now I have -rw------- 1 spamd spamd 1.3M Feb 22 15:51 auto-whitelist -rw------- 1 spamd spamd 3.6K Feb 22 15:51 bayes_journal -rw------- 1 spamd spamd 652K Feb 22 15:51 bayes_seen -rw------- 1 spamd spamd 5.3M Feb 22 15:51 bayes_toks in my /home/spamd/.spamassassin folder If I run sa-learn -D --sync --dbpath /home/spamd/.spamassassin I still see debug: bayes: 25894 tie-ing to DB file R/O /root/.spamassassin/bayes_toks debug: bayes: 25894 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 debug: bayes: 25894 untie-ing debug: bayes: 25894 untie-ing db_toks debug: bayes: 25894 untie-ing db_seen debug: Score set 0 chosen. debug: Initialising learner debug: Syncing Bayes and expiring old tokens... debug: lock: 25894 created /home/spamd/.spamassassin/bayes.lock.localhost.localdomain.25894 debug: lock: 25894 trying to get lock on /home/spamd/.spamassassin/bayes with 0 retries debug: lock: 25894 link to /home/spamd/.spamassassin/bayes.lock: link ok debug: bayes: 25894 tie-ing to DB file R/W /home/spamd/.spamassassin/bayes_toks debug: bayes: 25894 tie-ing to DB file R/W /home/spamd/.spamassassin/bayes_seen debug: bayes: found bayes db version 3 debug: refresh: 25894 refresh /home/spamd/.spamassassin/bayes.lock debug: refresh: 25894 refresh /home/spamd/.spamassassin/bayes.lock synced Bayes databases from journal in 3 seconds: 1545 unique entries (1940 total entries) debug: refresh: 25894 refresh /home/spamd/.spamassassin/bayes.lock debug: refresh: 25894 refresh /home/spamd/.spamassassin/bayes.lock debug: Syncing complete. debug: bayes: 25894 untie-ing debug: bayes: 25894 untie-ing db_toks debug: bayes: 25894 untie-ing db_seen debug: bayes: files locked, now unlocking lock debug: unlock: 25894 unlink /home/spamd/.spamassassin/bayes.lock I don't understand that even though I specified the db path, it still has /root/./spamassassin mentioned as well. Does it try to use both databases? It seems to see both databases. I am seeing some bayes scoring now as well. If I am using sa-learn, can I just add the --dbpath /home/spamd/.spamassassin option and it should update the correct db? Thanks for all the help! > -----Original Message----- > From: Richard Ozer [mailto:[EMAIL PROTECTED] > Sent: 22 February 2005 15:19 > To: Paul J. Smith > Cc: users@spamassassin.apache.org > Subject: Re: Auto learning > > Can you post your local.cf? > > Paul J. Smith wrote: > > 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 > > debug: SpamAssassin version 3.0.2