Bayes Engine not being used?

Mike McMullen mlm at LOANPROCESSING.NET
Fri Feb 20 17:50:20 GMT 2004


From: "Admin Team" <sysadmins at ENHTECH.COM>
> At 12:08 PM 2/20/2004, you wrote:
> >Ok then - I had the situation where my sa-learn scripts were runnign a
> >root and resetting the perms on the DB files every so often. I think
> >theres now an option on MS 4.25 (or later) to force the umask in this
case.
> >
> >anyway to debug the problem...
> >
> >stop MailScanner
> >change the Debug and Spamassassin Debug options to 'yes' in
MailScanner.conf
> >
> >run check_MailScanner
> >
> >this will run a single instance of MS and you should be able to see any
> >errors relating to the Bayes DB pop up on the screen. NB CTRL-S and
> >CTRL-Q can suspend/restart the text scrolling past, and CTRL-C will stop
> >  MS.
> >
> >Once you want to restart MS in the normal way, change the Debug settings
> >back to 'no' and restart MS in the normal way.
> >
> >--
> >Martin Hepworth
> >Snr Systems Administrator
> >Solid State Logic
> >Tel: +44 (0)1865 842300
> >
>
> I had done all this already. The only thing that got it working was to
> import the bayes data from the other MailScanner system. This got bayes
> working again. Anybody know why? I mean, this was a plain vanilla install
> of SA so I am curious to learn why the bayes engine was not being used.
>
>
> Errol Neal
>

Errol,

After the install did you train SA with at least 200 ham and spam messages?
I just ran into this a week ago on my first installation of SA. After there
were
enough sample ham and spam messages, bayes kicked in.

When you imported the bayes data from the other system, that probably
created enough samples for bayes to take effect.

HTH,

Mike



More information about the MailScanner mailing list