On Thu, Dec 21, 2006 at 10:26:16AM -0500, Jean-Paul Natola wrote:
> No I have not modified the AWL path- actually that's where I'm really
> confused
> 
> I see that spamd's home dire is 
> spamd:*:58:58:SpamAssassin user:/var/spool/spamd:/sbin/nologin
> 
> is that what I need to change?

>No, that's the spamd home directory.  The issue is that the user running
>spamc
>(not spamd) a) has a home directory of /nonexistant, and therefore b) spamd
>tries to access the default path which is in that user's home directory.

>Telling spamd to run as a specific user doesn't change the rest of the code

I got this from another page;
http://comments.gmane.org/gmane.mail.spam.spamassassin.general/75144?set_line
s=100000

"If you are running spamd as root, it will try to setuid itself to the user 
that calls spamc. However, if that user turns out to be root, spamd will 
setuid itself to "nobody" for safety.

The "nobody" user can't write it's own homedir (and should not be able to!) 
thus SA couldn't create a profile directory to store user_prefs or bayes 
learning into.
If you're calling spamc from a root-privileged script on a site-wide basis, 
you might want to consider creating a "spamd" user and passing that 
username to the -u parameter of spamd."


>trying to access the calling user's home directory, so you need to set
>things
>like bayes_path and auto_whitelist_path when running in a site-wide config.


So now where do I make these adjustments, is the  local.cf ?

Reply via email to