Bogofilter regular maintaniance ??
Michael Gale
michael.gale at utilitran.com
Fri Nov 12 22:49:31 CET 2004
Hello,
I just have some questions about regular maintanence on my bogofilter.
I am running bogofilter 0.93.1 with Berkeley DB 4.2.52.
I figured the following should be ok:
Nightly:
cp wordlist.db wordlist.db_dayofweek (Sun,Mon,Tues,...)
bogoutil -a 30 -m wordlist.db
db4_archive bogofilter_dir | while read line
do
rm $line
done
Then incase of wordlist corruption or some thing ... I would do:
bogofilter -f bogofilter_dir
if fails
bogofilter -F bogofilter_dir
if fail then
rm bogofilter_dir/__db*
rm bogofilter_dir/log**
rm wordlist.db
cp wordlist.db_dayofweek wordlist.db
bogofilter -f bogofilter_dir
Am I missing anything ??
--
Michael Gale
Lan Administrator
Utilitran Corp.
We Pledge Allegiance to the Penguin
More information about the Bogofilter
mailing list