You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Jesús Arnáiz <je...@0z0ne.com> on 2005/06/27 10:51:21 UTC

SpamAssassin bayes problem

Hello.

I use SA 3.0.3 on my FreeBSD box with qmail and simscan.

I run SA like this:

--
# /usr/local/bin/spamd -d -D -u nobody
--

I see the next problem with bayes:

--
 >> Jun 27 10:01:07 XXXXXX spamd[42070]: debug: auto-learning failed: lock:
 >> 42070 cannot create tmp lockfile
 >> /var/spool/spamassassin/bayes.lock.XXXXXX.domain.com.42070 for
 >> /var/spool/spamassassin/bayes.lock: Permission denied
 >> Jun 27 10:01:12 XXXXXX spamd[39707]: debug: bayes: no dbs present,
 >> cannot tie DB R/O: /var/spool/spamassassin/bayes_toks
 >> Jun 27 10:01:12 XXXXXX spamd[39707]: debug: bayes: no dbs present,
 >> cannot tie DB R/O: /var/spool/spamassassin/bayes_toks
 >> Jun 27 10:01:12 XXXXXX spamd[39707]: debug: bayes: no dbs present,
 >> cannot tie DB R/O: /var/spool/spamassassin/bayes_toks
 >> Jun 27 10:01:12 XXXXXX spamd[39707]: debug: bayes: not scoring
--

The permision of this files and directories are:

-- 
root@xxx /var/spool# ls -altrd /var/spool/spamassassin/
drwxrwx---    2 root     nobody        512 Jun 27 10:26 
/var/spool/spamassassin//
root@xxx /var/spool# ls -altr /var/spool/spamassassin/
total 4484
drwxr-xr-x   12 root     wheel         512 Jun  6 18:19 ../
-rw-rw-rw-    1 nobody   nobody    4227072 Jun 27 10:26 bayes_toks
-rw-rw-rw-    1 nobody   nobody     344064 Jun 27 10:26 bayes_seen
drwxrwx---    2 root     nobody        512 Jun 27 10:26 ./

-- 

The configuration of bayes on my local.cf file is:

-- 
use_bayes 1
bayes_auto_learn 1
bayes_path /var/spool/spamassassin/bayes
bayes_file_mode 0770
bayes_auto_learn_threshold_nonspam 0.1
bayes_auto_learn_threshold_spam 9.5
-- 


Any help is welcomed.

Thanks in advance