On Fri, 31 Mar 2017 15:02:46 +0100
RW wrote:

> On Fri, 31 Mar 2017 14:40:10 +0100
> RW wrote:
> 
> > On Fri, 31 Mar 2017 15:21:59 +0200
> > Matus UHLAR - fantomas wrote:
> > 
> >   
> > > >bayes_path /var/bayes/
> > > >bayes_file_mode 0777      
> > > 
> > > you do not need those, just check the above.
> > > spamd uses home directory of the user it's running under.    
> > 
> > I thought that, but I tried it and it doesn't. Even if you run 
> > "spamd -u spamd" the Bayes directory is still governed by spamc just
> > as it does when it's setup for ordinary unix users.    
> 
> I just rechecked that and couldn't reproduce it, so I probably did
> something wrong. 

Actually I can, and I know what's happening now, The OP missed out this:

  -x, --nouser-config               Disable user config files

I have it my config because ironically you have to set it to use
virtual home directories.

The actual meaning is don't look for files in unix home directories,
and if you don't set it in combination with -u, SA still looks for user
config and bayes files in the inaccessible home directory of the user
running  spamc.

Reply via email to