BAYES issues

Anthony Peacock a.peacock at chime.ucl.ac.uk
Fri Feb 16 09:14:18 CET 2007


Jay Chandler wrote:
> Jay Chandler wrote:
>> <snip>What's more is, I got that output from crontab, running the 
>> command as the postfix user...
>>
>> So I'm... rather confused.  What should Bayes be showing as in my logs?
>>
> 
> Interesting.
> 
> Just linted and got this:
> config: warning: score set for non-existent rule BAYES_99
> config: warning: score set for non-existent rule BAYES_95
> config: warning: score set for non-existent rule BAYES_00
> config: warning: score set for non-existent rule BAYES_05
> 
> Is there a Bayes ruleset file that I'm potentially missing?
> 

Hmm!  That does look like you have a screwed up SA configuration.

Those are standard rules that come with SA, so if they are missing you 
have a bad installation.

The standard rule file with the Bayes rules in is called 23_bayes.cf

It should be installed in /usr/local/share/spamassassin

If you run sa-update you may also have a newer copy in

/var/lib/spamassassin/3.001007/updates_spamassassin_org  (or similar 
depending on SA version)

I am still confused, as you seemed to be able to get a Bayes score when 
running from the command line, but not when running with MailScanner.

There must be something different with the environments between those two.

-- 
Anthony Peacock
CHIME, Royal Free & University College Medical School
WWW:    http://www.chime.ucl.ac.uk/~rmhiajp/
"If you have an apple and I have  an apple and we  exchange apples
then you and I will still each have  one apple. But  if you have an
idea and I have an idea and we exchange these ideas, then each of us
will have two ideas." -- George Bernard Shaw


More information about the MailScanner mailing list