Hello,

I am running spamassassin 3.2.3 on a Debian etch system (volatile package, 
3.2.3-0.volatile1).

Unfortunately bayes filtering works quite unreliably and in  /var/log/mail.log
I get messages like

Mar 26 22:16:59 bokomoko spamd[10337]: spamd: connection from localhost 
[127.0.0.1] at port 60747
Mar 26 22:16:59 bokomoko spamd[10337]: spamd: setuid to Debian-exim succeeded
Mar 26 22:16:59 bokomoko spamd[10337]: bayes: cannot open bayes 
databases /home/rd/.spamassassin/bayes_* R/W: tie failed: Permission denied
Mar 26 22:16:59 bokomoko spamd[10337]: spamd: processing message 
<[EMAIL PROTECTED]> aka 
<[EMAIL PROTECTED]> for Debian-exim:104
Mar 26 22:16:59 bokomoko spamd[10337]: bayes: cannot open bayes 
databases /home/rd/.spamassassin/bayes_* R/W: tie failed: Permission denied
Mar 26 22:17:05 bokomoko spamd[10337]: spamd: clean message (-0.7/5.2) for 
Debian-exim:104 in 5.5 seconds, 6326 bytes.
Mar 26 22:17:05 bokomoko spamd[10337]: spamd: result: . 0 - AWL 
scantime=5.5,size=6326,user=Debian-exim,uid=104,required_score=5.2,rhost=localhost,raddr=127.0.0.1,rport=60747,mid=<
[EMAIL PROTECTED]>,rmid=<[EMAIL PROTECTED]>,autolearn=disabled 
Mar 26 22:17:05 bokomoko spamd[10333]: prefork: child states: II

I do not understand the entry

Mar 26 22:16:59 bokomoko spamd[10337]: bayes: cannot open bayes 
databases /home/rd/.spamassassin/bayes_* R/W: tie failed: Permission denied

because if I check the file systems permissions, the files are readable by 
anybody:

[EMAIL PROTECTED]:~/.spamassassin$ ls -l /home/rd/.spamassassin/
total 18020
-rw-r--r-- 1 rd user    12288 Dec 16 10:48 auto-whitelist
-rw-rw-rw- 1 rd user   103896 Mar 26 19:35 bayes_journal
-rw-r--r-- 1 rd user  1642496 Mar 21 21:17 bayes_seen
-rw-r--r-- 1 rd user 20955136 Mar 26 18:19 bayes_toks
-rw-r--r-- 1 rd user        0 Mar 25 19:09 timestamp-last-sa-learn-run
-rw-r--r-- 1 rd user     1353 Dec 14  2006 user_prefs
-rw-r--r-- 1 rd user     1251 Dec 13  2006 user_prefs~
[EMAIL PROTECTED]:~/.spamassassin$ ls -ld /home/rd/.spamassassin/
drwxrwxr-x 2 rd Debian-exim 4096 Mar 26 21:57 /home/rd/.spamassassin/
[EMAIL PROTECTED]:~/.spamassassin$ ls -ld /home/rd/
drwxr-xr-x 30 rd user 4096 Mar 21 16:19 /home/rd/
[EMAIL PROTECTED]:~/.spamassassin$ ls -ld /home/
drwxrwsr-x 14 root staff 4096 Dec 27 22:03 /home/
[EMAIL PROTECTED]:~/.spamassassin$ ls -ld /
drwxr-xr-x 22 root root 4096 Aug 31  2007 /
[EMAIL PROTECTED]:~/.spamassassin$

So it seems spamassassin is not complaining about file systems permissions, 
but other permissions.

Any idea which might help me to debug this issue is very welcome...

Many thanks,
Rainer

-- 
Rainer Dorsch
Lärchenstr. 6
D-72135 Dettenhausen
07157-734133
email: [EMAIL PROTECTED]
jabber: [EMAIL PROTECTED]
GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F  8F59 E3A8 C538 7519 141E
Full GPG key: http://pgp.mit.edu/

Reply via email to