On Fri, 25 Jun 2004, scohen wrote:

>
>
> On Fri, 25 Jun 2004, Kris Deugau wrote:
>
> > Andy Norris wrote:
> > > I am having the same issues with getting SA to work with Bayes...
> > > even though I've trained it on a lot of spam...
> > >
> > > But I did find the bayes files in /root/.spamassassin on my setup...
> > >
> > > Maybe worth a look? And if you get it working, let me know how to get
> > > mine firing! I've got the same stuff in my local.cf as you have
> > > listed below... But, again, I'm not sure if I've got it in the right
> > > *place*...
> >
> > One thing I found I had to do to let root run sa-learn without putting
> > data in the wrong place was to symlink each of the bayes_* files from
> > /root/.spamassassin to the real location.
> >
> > -kgd
>
> Well, I can't find the bayes_ files anywhere. I ran updatedb and then
> locate bayes and the files aren't there. What creates the files in the
> first place?
>
> Steve Cohen
>
I think I figured this out. for spamassassin running through mimedefang
you are supposed to edit /etc/mail/spamassassin/sa-mimedefang.cf instead
of a local.cf file. Once I added the entries into the correct file and
restarted mimedefang, the bayes files were created.

Steve Cohen

Reply via email to