Op 24/06/2008 om 01:10:49 -0700, schreef MrC:
> 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
>
As I understand this, you should either run sa-learn --force-expire with
'bayes_auto_expire = 0' or just keep de defaults and let SA do it for
you.
'man sa-learn' implies that at any moment in time expire will kick in,
so your bayes tables should not be growing indefinitely. In practice
they keep growing, so what's going wrong?
--
Leo Baltus, internetbeheerder /\
NPO ICT Internet Services /NPO/\
Sumatralaan 45, 1217 GP Hilversum, Filmcentrum, west \ /\/
[EMAIL PROTECTED], 035-6773555 \/
-------------------------------------------------------------------------
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/