Guardian Digital Inc. >
InfoCenter >
Mailing List Archives >
Amavis
Amavis Mailing List Archive
Hello Max,
Wednesday, December 22, 2004, 1:44:59 PM, you wrote:
> I am still interested in hearing suggestions to the sizes of the files
> though.
> 312M Dec 22 20:07 bayes_seen
> 19M Dec 22 20:07 bayes_toks
I don't know if this will help, but:
Do you possibly have 'bayes_auto_expire 0' ?
I do, and then I --force-expire once each day:
If you do, you need to run
su amavis -c 'sa-learn --sync --force-expire'
probably once a day.
The Debian team has provided:
/etc/cron.daily/amavisd-new
#!/bin/sh
#
# Daily maintenance for amavisd-new
# $Id: amavisd-new.cron.daily,v 1.3 2004/05/27 01:18:50 hmh Exp $
#
# Needed only if spamassassin is in use
umask 027
test -e /usr/bin/sa-learn && test -e /usr/sbin/amavisd-new && {
su - amavis '/usr/bin/sa-learn --sync --force-expire' >/dev/null 2>&1
}
exit 0
Your paths will vary.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
|