You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Christoph Söllner <ch...@pmpro.de> on 2006/03/02 17:32:05 UTC

Getting BAYES to work with ESA?

Hi folks,

I'm having some trouble getting the bayes filter
to work on my windows installation. SA 3.1.0 is
installed and working properly, the ESA fires on
every received message and calls spamassassin.bat.
Bayes DB trained with 260 HAMs and 2600 SPAMs ^^.

When I strip a spam message of its X-SPAM flags
and run it manually through spamassassin.bat, all
works fine and BAYES_99 is added to the flags.
But when run through the ESA, all tests are pre-
sent, except that BAYES_99?!?!
What am I doing wrong? Or does anyone with the 
same system constellation have similar difficul-
ties?

Thanks,
Chris

Re: Getting BAYES to work with ESA?

Posted by Matt Kettler <mk...@EVI-INC.COM>.
Christoph Söllner wrote:
> Hi folks,
> 
> I'm having some trouble getting the bayes filter
> to work on my windows installation. SA 3.1.0 is
> installed and working properly, the ESA fires on
> every received message and calls spamassassin.bat.
> Bayes DB trained with 260 HAMs and 2600 SPAMs ^^.
> 
> When I strip a spam message of its X-SPAM flags
> and run it manually through spamassassin.bat, all
> works fine and BAYES_99 is added to the flags.
> But when run through the ESA, all tests are pre-
> sent, except that BAYES_99?!?!
> What am I doing wrong? Or does anyone with the 
> same system constellation have similar difficul-
> ties?
> 

First, I know nothing about ESA.. I don't even know what ESA is, and have never
heard of it before outside of the European space agency.


That said, 99% of the time the problem you're referring to is differences in
effective user ID. When you train mail, are you training it while logged in as
the same user that calls spamassassin.bat?

I assume this is a windows platform, but SA by default stores it's bayes
database in the user's home directory. I'm not sure what happens on windows, but
this might be in the user's documents and settings tree.