Question about SpamAssassin permissions
All, I reviewing my SpamAssassin settings, I have found the SA was still running as root. I have since changed this to run as 'spamd', however I am getting the following errors within my /var/log/mail log: Mar 24 16:48:21 mailserver spamd[17090]: Creating default_prefs [/root/.spamassassin/user_prefs] Mar 24 16:48:21 mailserver spamd[17090]: Cannot write to /root/.spamassassin/user_prefs: Permission denied Mar 24 16:48:21 mailserver spamd[17090]: Couldn't create readable default_prefs for [/root/.spamassassin/user_prefs] Why is SA still trying to use root's home folder for storage since I have changed the following: (added to local.cf) # Additional bayes configurations bayes_path /home/spamd/.spamassassin bayes_file_mode 0666 (added to /etc/procmailrc) #:0fw #| /usr/bin/spamc -u spamd Can anyone offer any assistance on this? Thanks in advance! __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/
The Thursday 2005-03-24 at 14:02 -0800, Drew J. Como wrote:
I reviewing my SpamAssassin settings, I have found the SA was still running as root. I have since changed this to run as 'spamd', however I am getting the following errors within my /var/log/mail log:
How exactly are you calling SA?
Mar 24 16:48:21 mailserver spamd[17090]: Creating default_prefs [/root/.spamassassin/user_prefs]
If I remember correctly, spamd will try to use the home directory of the user calling spamc, not spamd.
(added to /etc/procmailrc)
#:0fw #| /usr/bin/spamc -u spamd
Aha. root. Bingo. It must use root files...
Can anyone offer any assistance on this?
Read again docus of spamc/spamd. -- Cheers, Carlos Robinson
participants (2)
-
Carlos E. R.
-
Drew J. Como