bf_compact

Matthias Andree matthias.andree at gmx.de
Fri May 13 01:00:11 CEST 2005


On Thu, 12 May 2005, R Kimber wrote:

> Eventually, I read the FAQ at
> http://bogofilter.sourceforge.net/faq.shtml#compact-database
> which recommended:
> 
> bf_compact ~/.bogofilter wordlist.db
> 
> However, this was a disaster, since it not only screwed up the
> wordlist, but deleted all the other files in the .bogofilter
> directory including the config file.
> 
> What should I have done?

bf_compact creates a new directory of just the .db file, perhaps __db
and log.* files and DB_CONFIG if present, and renames the previous
directory to ~/.bogofilter.old - you can then copy or move the "missing"
files from ~/.bogofilter.old to the new ~/.bogofilter directory.

-- 
Matthias Andree



More information about the Bogofilter mailing list