SA bayes not working / autolearn inactive?
Martin Hepworth
martinh at solid-state-logic.com
Tue Aug 22 16:57:47 IST 2006
Green, Rodney wrote:
>
>
> Daniel Maher wrote:
>>
>> Hello all,
>>
>> I set up a new MailScanner server today, basically as a clone of an
>> already existing one in the pool. I have SpamAssassin’s “autolearn”
>> feature enabled on the existing mail servers; however, even though I
>> have the same environment and configuration file on the new incoming
>> server, autolearn does not appear to be activated. It’s either that,
>> or bayes just isn’t activating properly, and autolearn is deactivating
>> on it’s own.. I’m just not sure.
>>
>> Relevant config snippet:
>>
>> ###
>>
>> use_bayes 1
>>
>> bayes_path /var/spool/MailScanner/incoming/bayes/bayes
>>
>> bayes_auto_learn 1
>>
>> bayes_auto_learn_threshold_nonspam -5.0
>>
>> bayes_auto_learn_threshold_spam 12
>>
>> ###
>>
>> On the servers which appear to have functioning Bayes databases, the
>> “autolearn=*” string appears in the Score line as one would expect. On
>> the new server, the autolearn string simply does not appear, and the
>> “bayes_*” files do not grow in size. Oddly enough, running a lint
>> check on the new server shows no obvious problems:
>>
>> [18747] dbg: bayes: tie-ing to DB file R/O
>> /var/spool/MailScanner/incoming/bayes/bayes_toks [18747] dbg: bayes:
>> tie-ing to DB file R/O /var/spool/MailScanner/incoming/bayes/bayes_seen
>>
>> [18747] dbg: bayes: found bayes db version 3
>>
>> [18747] dbg: bayes: DB journal sync: last sync: 0
>>
>> [18747] dbg: bayes: not available for scanning, only 0 spam(s) in
>> bayes DB < 200
>>
>> [18747] dbg: bayes: untie-ing
>>
>> [18747] dbg: bayes: untie-ing db_toks [18747] dbg: bayes: untie-ing
>> db_seen
>>
> Does autolearn function when the minimum for spam/ham is not meet?
>
In a word no..
--
Martin Hepworth
Senior Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.
**********************************************************************
More information about the MailScanner
mailing list