I'm confused about my bayes expiration steps

Martin Hepworth maxsec at gmail.com
Wed Mar 24 13:33:10 GMT 2010


Bayes DB's sometimes seem to get corrupted and need rebuilding, esp if using
the default 'database'.

more reliable is the SDBM (and quicker too) - see the MS wiki for a how-to.

Martin



On 24 March 2010 12:57, Steve Campbell <campbell at cnpapers.com> wrote:

> I don't understand why, but that fixed it.
>
> Thanks.
>
> steve
>
> Martin Hepworth wrote:
>
>> Steve
>>
>> delete the bayes info, let it rebuild itself, no worries :-)
>>
>> On 23 March 2010 20:05, Steve Campbell <campbell at cnpapers.com <mailto:
>> campbell at cnpapers.com>> wrote:
>>
>>    One of those tests that I never run unless there's a problem is
>>    the SpamAssassin Bayes Database Info from withing MailWatch. So I
>>    ran it today just for the heck of it. All of my data seems to
>>    indicate nothing has happened since around May, 2008.
>>
>>    Looking at my files in /etc/MailScanner/bayes shows the files are
>>    being updated properly.
>>
>>    But the bayes_seen file is getting a little large. So going
>>    through the MS.conf file, I find I rebuild bayes once a day. I
>>    look in my spam.assassin.prefs.conf file and a comment say I
>>    expire by a cron job. I can't find the cron job to see if it's
>>    working.
>>
>>    So I see a few problems:
>>
>>    MW isn't pointing to a proper set of bayes files.
>>    MS must not be set up right to either rebuild or expire my bayes
>>    files.
>>    I must not have moved something for that cron file to exist.
>>
>>    I'm running version 4.75.11. Everything seems to run OK, but I got
>>    a feeling I'm going to hit a bump in the road on that bayes_seen
>>    file one day.
>>
>>    Any thoughts, anyone?
>>
>>
>>    thanks
>>
>>    steve campbell
>>
>>    --     MailScanner mailing list
>>    mailscanner at lists.mailscanner.info
>>    <mailto: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!
>>
>>
>>
>> --
>> Martin Hepworth
>> Oxford, UK
>>
>
> --
> 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!
>



-- 
Martin Hepworth
Oxford, UK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20100324/a4804667/attachment.html


More information about the MailScanner mailing list