Leo Baltus wrote:
> Op 23/06/2008 om 21:38:17 -0700, schreef MrC:
>> Christian Purnomo wrote:
>>> Our bayes DB is a berkeley db on a filesystem:
>>>
>>> [EMAIL PROTECTED] ~amavis/.spamassassin # ls -la bayes_*
>>> -rw------- 1 amavis amavis      8376 2008-06-24 14:05 bayes_journal
>>> -rw------- 1 amavis amavis 670367744 2008-06-24 14:05 bayes_seen
>>> -rw------- 1 amavis amavis  20455424 2008-06-24 14:05 bayes_toks
>>>
>>> is our bayes_seen too large? we haven't looked at the option of using
>> 670meg is pretty large.  Mine is a stingy 20meg.  Have you expired old
>> entries?
> 
> How do you do that?
> 

I keep a little bash function handy for manual labor, but the command
inside the function is what you want:

function sa-expire {
    su amavis -c 'sa-learn --force-expire --showdots'
}

Change the user after -u to your amavis user id.

Setup a cron job to force periodic expiration. See similar threads:

http://groups.google.com/group/mailing.unix.amavis-user/search?group=mailing.unix.amavis-user&q=%27force-expire%27&qt_g=Search+this+group

MrC

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to