[solved] SA bayes not working / autolearn inactive?

Julian Field mailscanner at ecs.soton.ac.uk
Wed Aug 23 21:27:06 IST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

That one is definitely worth documenting.
Please can you add it to the wiki?
wiki.mailscanner.info


Daniel Maher wrote:
> Thanks to everybody for your suggestions.
> 
> I stopped MailScanner, and went through the directory tree manually, picking it over with a fine-toothed comb (as it were).  I found that the parent directory of the bayes data directory did not have it's execute bit set for the group - only for the user.
> 
> On the functioning mail servers, this group x bit was set.  Voila.
> 
> After making this change and re-starting MailScanner, SpamAssassin is now happily reading from and writing to the bayes database, and autolearn is active.
> 
> Sometimes the best solutions are the most simple. :P
> 
> --
>   _
>  °v°  Daniel Maher
> /(_)\ Administrateur Système Unix
>  ^ ^  Unix System Administrator
>  
> Sentio aliquos togatos contra me conspirare.
> 
>> -----Original Message-----
>> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-
>> bounces at lists.mailscanner.info] On Behalf Of Daniel Maher
>> Sent: August 23, 2006 11:24 AM
>> To: MailScanner discussion
>> Subject: RE: SA bayes not working / autolearn inactive?
>>
>>
>>
>>> -----Original Message-----
>>> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-
>>> bounces at lists.mailscanner.info] On Behalf Of Green, Rodney
>>> Sent: August 22, 2006 12:34 PM
>>> To: MailScanner discussion
>>> Subject: Re: SA bayes not working / autolearn inactive?
>>>
>>> I didn't see anything in your original posting saying that you populated
>>> the bayes db to try it. Also, the lint output you posted says that it
>>> does not meet the threshold requirement.
>>>
>> Thanks for the reply,
>>
>> I have since populated the bayes DB (via sa-learn backup/restore) from one
>> of the functioning mail servers.  A lint check now shows this:
>> ---
>> [19182] dbg: bayes: DB journal sync: last sync: 1156345626
>> [19182] dbg: bayes: corpus size: nspam = 5507601, nham = 1761804
>> ---
>>
>> As before, my learning threshold config line is:
>> ---
>> bayes_auto_learn_threshold_spam         12
>> ---
>>
>> Take, for example, the following mail which passed through a few moments
>> ago:
>> ---
>> Aug 23 15:14:05 yosemite MailScanner[18668]: Message 593C069B0A.6BE83 from
>> 222.35.236.81 (offjskcjacpiz at yahoo.co.kr) to ubisoft.com is spam,
>> SpamAssassin (score=31.401, required 6, DATE_IN_FUTURE_96_XX 1.89,
>> DATE_SPAMWARE_Y2K 1.82, FORGED_IMS_HTML 2.27, FORGED_IMS_TAGS 2.12,
>> FORGED_MUA_IMS 1.20, FROM_ILLEGAL_CHARS 3.28, FROM_LOCAL_NOVOWEL 2.33,
>> HTML_MESSAGE 0.50, HTML_MIME_NO_HTML_TAG 0.51, MIME_BOUND_DD_DIGITS 3.60,
>> MIME_HTML_ONLY 0.00, MIME_HTML_ONLY_MULTI 0.00, MISSING_MIMEOLE 1.39,
>> MPART_ALT_DIFF 0.14, MSGID_SPAM_CAPS 3.52, RCVD_NUMERIC_HELO 1.25,
>> REPTO_QUOTE_IMS 0.00, SARE_RECV_IP_222032 2.22, SUBJ_ILLEGAL_CHARS 3.36,
>> UNPARSEABLE_RELAY 0.00)
>> ---
>>
>> Clearly, this email meets the threshold for autolearning; however, there
>> is no autolearn string to be found, and the access times on the bayes
>> database do /not/ change.
>>
>> Any further input is more than welcome.
>>
>>
>> --
>>   _
>>  °v°  Daniel Maher
>> /(_)\ Administrateur Système Unix
>>  ^ ^  Unix System Administrator
>> Sentio aliquos togatos contra me conspirare.
>> --
>> MailScanner mailing list
>> mailscanner at lists.mailscanner.info
>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>
>> Before posting, read http://wiki.mailscanner.info/posting
>>
>> Support MailScanner development - buy the book off the website!

- -- 
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at MailScanner.biz

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
For all your IT requirements visit www.transtec.co.uk


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.5.0 (Build 1112)
Charset: ISO-8859-1

wj8DBQFE7LogEfZZRxQVtlQRAolHAJ0YWMdTFfuhBnWRKm4lus5z5ASMAgCfa0Uu
k82TZLMX1Jr8zRRic1SxyIw=
=0MGN
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk



More information about the MailScanner mailing list