On Sunday 07 March 2004 02:53 pm, Derek Jennings wrote:

> > > The solution is to either put the line
> > > bayes_path /path/to/file
> > >
> > > in the  /etc/mail/spamassassin/local.cf file where the path points to
> > > a directory with 666 permissions, or else create a
> > > ~/.spamassassin/user_prefs file in each users home. The advantage of
> > > doing this is that each user will have customised spamassassin
> > > settings and their own Bayes database.
> > >
> > > Refer to the Postfix guide on my home page for suggestions of how to
> > > set it up.
> > >
> > > derek
> >
> > Derek, I'm the only user on the system.  Below is a cut from my
> > local.cf in /etc/mail/spamassassin
> >
> > # Enable Bayes auto-learning
> > auto_learn              1
> > bayes_path /etc/mail/spamassassin
> > bayes_file_mode 0777
> > bayes_auto_learn_threshold_nonspam 0.1
> > bayes_auto_learn_threshold_spam 10.0
> >
> > Shouldn't that work?
> >
> > Chris
>
> No because  /etc/mail/spamassassin is owned by root and spamassassin runs
> as the user the mail is being delivered to.
>
> derek

Guess I'm either too dense to get it or something.  So, if I were to create 
a dir called "bayes" in my etc/mail/spamassassin for the bayes path and set 
the "bayes_file_mode to 666 vice 0777 would this solve the problem?  I do 
have a lockfile created when I run sa-learn.

So, if ya need to kick me in the head to get me to understand, by all means 
do.

Chris

-- 
  Regards
  Chris
  A 100% Microsoft free computer
  Registered Linux User 283774 http://counter.li.org
  3:03pm  up 1 day,  3:29,  4 users,  load average: 0.37, 0.50, 0.31


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to