Am Mittwoch, 26. März 2008 schrieb Rainer Dorsch: > Am Mittwoch, 26. März 2008 schrieb Theo Van Dinter: > > On Wed, Mar 26, 2008 at 10:24:49PM +0100, Rainer Dorsch wrote: > > > 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: > > > -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 > > > > The issue is that it's trying to write to the files (hence the "R/W"), > > and can't. :) > > Many thanks. Making /home/rd/.spamassassin/ writable for the Debian-exim > group indeed solved the problem.
I declared victory too early. The permission denied came back in an intermittent manner: The 00:12:xx entry got a permission denied, in the 00:14:xx entry the bayes filtering worked, it got a BAYES_00: Mar 27 00:12:12 bokomoko spamd[10338]: spamd: connection from localhost [127.0.0.1] at port 49793 Mar 27 00:12:12 bokomoko spamd[10338]: spamd: setuid to Debian-exim succeeded Mar 27 00:12:12 bokomoko spamd[10338]: bayes: cannot open bayes databases /home/rd/.spamassassin/bayes_* R/W: tie failed: Permission denied Mar 27 00:12:12 bokomoko spamd[10338]: spamd: processing message <[EMAIL PROTECTED]> for Debian-exim:104 Mar 27 00:12:12 bokomoko spamd[10338]: bayes: cannot open bayes databases /home/rd/.spamassassin/bayes_* R/W: tie failed: Permission denied Mar 27 00:12:17 bokomoko spamd[10338]: spamd: clean message (-2.4/5.2) for Debian-exim:104 in 5.4 seconds, 999 bytes. Mar 27 00:12:17 bokomoko spamd[10338]: spamd: result: . -2 - ALL_TRUSTED,AWL scantime=5.4,size=999,user=Debian-exim,uid=104,required_score=5.2,rhost=localhost,raddr=127.0.0.1,rport=49793,mid=<[EMAIL PROTECTED]>,autolearn=disabled Mar 27 00:12:17 bokomoko spamd[10333]: prefork: child states: II Mar 27 00:14:49 bokomoko spamd[10338]: spamd: connection from localhost [127.0.0.1] at port 49799 Mar 27 00:14:49 bokomoko spamd[10338]: spamd: setuid to Debian-exim succeeded Mar 27 00:14:49 bokomoko spamd[10338]: spamd: processing message <[EMAIL PROTECTED]> for Debian-exim:104 Mar 27 00:14:55 bokomoko spamd[10338]: spamd: clean message (-1.3/5.2) for Debian-exim:104 in 6.1 seconds, 5753 bytes. Mar 27 00:14:55 bokomoko spamd[10338]: spamd: result: . -1 - AWL,BAYES_00,HTML_MESSAGE scantime=6.1,size=5753,user=Debian-exim,uid=104,required_score=5.2,rhost=localhost,raddr=127.0.0.1,rport=49799,mid=<[EMAIL PROTECTED]>,bayes=0.000015,autolearn=disabled Mar 27 00:14:55 bokomoko spamd[10333]: prefork: child states: II Since my file system permissions did not change, I think the permission denied does not refer to file system permissions (?) Any ideas how I can find out what causes the permission denied? 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/