Jason Frisvold wrote:
> On 11/25/06, Matt Kettler <[EMAIL PROTECTED]> wrote:
>> Bayes_toks should trim itself automatically.
>
> I understand that, but I was wondering if it's possible to halt that
> and do a manual expire at specific intervals so I can control the load
> on the system.  Expiry seems to take a while...
Yes, you can do that.. you can set: bayes_auto_expire 0 and have a
cronjob call sa-learn --force-expire.

Make sure you run the --force-expire as the proper userid.
>
>> Have you done a sa-learn --dump magic? How long has it been since expiry
>> ran on your system? How may tokens are in the DB?
>
> I use spamc/spamd so I think expiry is happening all the time, tho I'm
> not sure how to tell.
run sa-learn --dump magic, as I asked. If you need help interpreting it,
post the output.

>
>> Try running sa-learn --force-expire. Does that run (probably for a long
>> time) and then fix the problem?
>>
>> Do you call SA through MailScanner or amavis which might be interfering
>> with expire runs by timing out and killing SA? (This only matters for
>> tools that use the API.. Or technically a tool that uses the
>> spamassassin command line script, but no decent integration tools that
>> monitor execution time do that. Anything that calls spamc to access
>> spamd won't be able to kill off the expire process by killing spamc.)
>>
>>
>>
>
>

Reply via email to