R.Brown wrote: > Hello, > > Running: SA 3.1.1 on Mac OS-X > > This is a newbie problem! > I've got permissions problems with my SA setup that I'm unable to sort > out. Here is how I'm running it with spamd as the user. > > root 359 0.0 0.7 44724 11740 ?? Ss 12:42PM 0:02.14 > /usr/bin/spamd -u spamd -d -r /var/run/spamd.pid > > spamd 436 0.0 1.0 44692 16296 ?? S 12:43PM 0:02.02 > spamd child > spamd 437 0.0 0.1 44692 1448 ?? S 12:43PM 0:00.02 > spamd child > > > The permissions for /var/run/.spamassasin are: > > drwx------ 6 root wheel 204 May 12 11:26 .spamassassin > > -rw------- 1 root wheel 16384 May 11 13:05 auto-whitelist > -rw------- 1 root wheel 339968 May 12 11:26 bayes_seen > -rw------- 1 root wheel 2654208 May 12 11:26 bayes_toks > -rw-r--r-- 1 root wheel 1487 May 11 13:05 user_prefs > > If I run spamassassin -D --lint as root there are no errors showing up > with locks, but if run as spamd there are errors.
Well, erm.. you're running spamd as -u spamd. That user has no permissions to access bayes_seen or bayes_toks. Only the root user has permissions. Try adding bayes_file_mode 0777 to your local.cf alongside your bayes_path statement.