On Wed, Jul 03, 2002 at 05:44:11PM -0700, Bob Sully wrote:

| I had been using the standard call in .procmailrc: 
| 
| :0fw
| | spamassassin -P
| 
| :0:
| * ^X-Spam-Status: Yes
| /home/rcs/mail/spam
| 
| With this, I only get the error message for root:
| 
| Jul  3 17:27:38 firefox spamd[28173]: read_scoreonly_config: cannot open 
| "/root/.spamassassin/user_prefs": Permission denied

This shows that SA was started as the 'root' user.  Since you got
Permission denied instead of file doesn't exist I suspect that SA
dropped its root privileges (to 'nobody') and then couldn't read
root's user config.
 
 
| When I switched to: 
| 
| :0fw
| | spamc -u rcs
| 
| I got:
| 
| Jul  3 17:27:44 firefox spamd[28177]: read_scoreonly_config: cannot open 
| "/home/rcs/.spamassassin/user_prefs": Permission denied

Does that file exist?  What are the perms on it?  What if you make it
world-readable and the parent directories world-executable?  Was spamd
running as user 'rcs' or as 'nobody' at that time?  (for some reason,
my version 2.31 spamd always complains about being root and drops to
nobody even though it is told which user to run as)


HTH,
-D

-- 

It took the computational power of three Commodore 64s to fly to the moon.
It takes at least a 486 to run Windows 95.
Something is wrong here.
 
http://dman.ddts.net/~dman/

Attachment: msg07013/pgp00000.pgp
Description: PGP signature

Reply via email to