Brian S. Meehan wrote: > Dirk, > I adjusted the rights as follows in /etc/mail/spamassassin: > drw-rw-rw- 3 root root 352 Feb 5 17:04 . > drwxr-xr-x 3 root root 80 Jul 13 2005 .. > drw-rw-rw- 2 root users 48 Nov 29 15:15 bayes > -rw------- 1 root root 60 Feb 5 07:54 bayes.lock > -rw-rw-rw- 1 root users 1.2M Feb 4 17:56 bayes_seen > -rw-rw-rw- 1 root users 5.3M Feb 5 07:54 bayes_toks > -rw-rw-rw- 1 root root 5.3M Feb 4 17:38 bayes_toks.expire8083
Brian.. I see that your local.cf contains: bayes_path /etc/mail/spamassassin/bayes Note the docs carefully, bayes path isn't just a path. That option specifies the bayes DB is stored in /etc/mail/spamassassin, and stored in files beginning with the name "bayes". However, /etc/mail/spamassassin contains a sub-directory named bayes... did you create that? Please remove it. I know in 2.6x versions this would screw up SA's file locking. In your bayes path there must be files starting with the word "bayes" other than the ones SA creates. I'd also really question using /etc/mail/spamassassin for your bayes database. The bayes directory needs to be RWX to all the users who SA runs as. You *really* don't want /etc/mail/spamassassin being world rwx as that's a gigantic security hole that a smart user could likely abuse to gain root privilege whenever root calls SA. May I suggest creating a /var/spamassassin/bayes/ directory that's world RWX and then setting bayes_path /var/spamassassin/bayes/bayes