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.

Here is the output from my log:

May 12 13:03:21 rbaimaging spamd[359]: prefork: child states: II\n
May 12 13:10:07 rbaimaging spamd[436]: spamd: connection from localhost [127.0.0.1] at port 49192\n May 12 13:10:07 rbaimaging spamd[436]: mkdir /var/root/.spamassassin: Permission denied at /Library/Perl/5.8.6/Mail/SpamAssassin.pm line 1469\n May 12 13:10:07 rbaimaging spamd[436]: spamd: checking message <[EMAIL PROTECTED]> for daemon:507\n May 12 13:10:07 rbaimaging spamd[436]: locker: safe_lock: cannot create tmp lockfile /var/spool/spamassassin/auto- whitelist.lock.rbaimaging.net.436 for /var/spool/spamassassin/auto- whitelist.lock: Permission denied\n May 12 13:10:07 rbaimaging spamd[436]: auto-whitelist: open of auto- whitelist file failed: locker: safe_lock: cannot create tmp lockfile / var/spool/spamassassin/auto-whitelist.lock.rbaimaging.net.436 for / var/spool/spamassassin/auto-whitelist.lock: Permission denied\n


If someone can give some help on how to resolve these permissions problems it would be appreciated.

Thanks,

Richard










Reply via email to