no output from: bogoutil -d spamlist.db

David Relson relson at osagesoftware.com
Wed Mar 19 18:32:39 CET 2003


At 11:20 AM 3/19/03, Michael D Richards wrote:

>Hello,
>
>  I think I have a corrupt spamlist.db file. Bogofilter is catching 
> *nothing* as spam on one setup. When I do "bogoutil -d spamlist.db" there 
> is no output, even though several spam messages have been registered and 
> the file size is about 90k.
>
>  I'm assuming this is a sign of corruption, can anyone confirm this or 
> point me another direction?
>
>Thank you,
>Michael~

MHello ichael,

Sorry to hear that you're having problems.

What version of bogofilter are you running?

Older versions occasionally ran into such problems because BerkeleyDB has 
inadequate file locking, which we didn't know.  Recent versions have had a 
lot of effort put into locking and are believed to be robust.

Try running db_verify to determine the state of your wordlist.

You may be able to rescue it with:

db_dump -r spamlist.old >spamlist.txt
db_load spamlist.new <spamlist.txt

or with::

bogoutil -d spamlist.new | bogoutil -l spamlist.db.new

Check sizes, tokens but if it's shrunk too much, you'd better rebuild the DB.

David





More information about the Bogofilter mailing list