> -----Original Message-----
> From: Kevin Baker [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, July 21, 2004 4:40 PM
> To: Jonas Eckerman
> Cc: [EMAIL PROTECTED]
> Subject: Re: spam score very low with amavis
> 
> Thanks TONS Jonas!
> 
> Could I have amavis startup as the same user I was using
> before, "mailservices", instead of moving databases?
> 
> 
> I'm almost positive that is it... didn't make any sense at
> first that it would just change.
> 
> But we've had this for 8 months, so it would make sense
> that if bayes is empty and starting over that we'd get
> *much* different results.
> 
> 
> I'll check it and repost for list  info.
> 
> 
> Thanks again,
> 
> Kevin
> 
> 
> > On Wed, 21 Jul 2004 13:34:19 -0700 (PDT), Kevin Baker
> > wrote:
> >
> >> >  1: Did you previously invoke SA in such a way that it
> >> ran as
> >
> >>  No, it did have its' own user though.
> >
> >> >  2: Does amavis-new allways invoke SA as the same
> >> user?
> >
> >>  Yes.. amavis
> >
> > Ah. Then, if your previous setup ran as any other user
> > than "amavis" and was not setup for user independant
> > sitewide bayes, you've a new bayes database now.
> >
> >>  If I was running off a new Bayes database for new user
> >> because of
> >>  the change... how would I correct this?
> >
> > You could copy/move the old database over the new, setup
> > sitewide bayes using the old database, retrain the
> > database or (if you use autolearn) just wait.
> >
> > Regards
> > /Jonas
> >
> > --
> > Jonas Eckerman, [EMAIL PROTECTED]
> > http://www.fsdb.org/
> >

Kevin,
You may also want to add a line to your local.cf file that tells SA
where to go for its bayes database. 
Here is a line from my SA 2.63 server local.cf file:
bayes_path /var/amavisd/.spamassassin/bayes

>From the docs:
bayes_path /path/to/file (default: ~/.spamassassin/bayes)

Path for Bayesian probabilities databases. Several databases will be
created, with this as the base, with _toks, _seen etc. appended to this
filename; so the default setting results in files called
~/.spamassassin/bayes_seen, ~/.spamassassin/bayes_toks etc. 
By default, each user has their own, in their ~/.spamassassin directory
with mode 0700/0600, but for system-wide SpamAssassin use, you may want
to reduce disk space usage by sharing this across all users. (However it
should be noted that Bayesian filtering appears to be more effective
with an individual database per user.)

-matt

Reply via email to