bogofilter randomly fails to find db's

Chris Wilkes cwilkes-bf at ladro.com
Sat Jan 10 00:52:07 CET 2004


On Sat, Jan 10, 2004 at 12:27:04AM +0100, Roger 'Rocky' Vetterberg wrote:
> 
> >Second, having separate databases is the old way of doing things and has
> >been deprecated.  It would be best if you'd run "bogoupgrade -d
> >/var/lib/bogofilter" which will read the separate databases and will
> >create a new, combined database named wordlist.db.  Bogofilter will use
> >wordlist.db instead of spamlist.db and goodlist.db.
> 
> I tried, but no luck.
> 
> rambo# bogoupgrade -d /var/lib/bogofilter
> Can't open file '/var/lib/bogofilter/goodlist.db'
> error running "bogoutil -d /var/lib/bogofilter/goodlist.db":  at 
> /usr/local/bin/bogoupgrade line 158.

Can you use bogoutil on the old good|goolists.db's?  If so you could try
doing a 
  for i in goodlist.db spamlist.db; do
    bogoutil -d $i | bogoutil -l $i-new;
    mv $i $i-`date +%s` && mv $i-new $i;
  done
and see if rebuilding those databases does the trick.

Chris




More information about the Bogofilter mailing list