bf_compact fails every night

Matthias Andree matthias.andree at gmx.de
Sun Feb 6 12:36:37 CET 2005


Ben Finney <ben at benfinney.id.au> writes:

> This has been happening for a while now, but didn't seem to break
> bogofilter's operation so I've delayed dealing with it.  In light of my
> "catastrophic recovery required" thread, though, I'll describe it here
> to see who can shed light.

bf_compact makes some nasty assumptions about directories
unfortunately.

Running this every night should not be necessary however, I'd suggest to
use bogoutil --db-prune to get rid of inactive log files only.

If you'd like to stick to bf_compact regularly, then consider renaming
the .bogofilter.old directory right after the bf_compact, with, for
instance:

  mv ~/.bogofilter.old ~/.bogofilter.old-`date +%Y-%m-%d`

> This may have a bearing on why "catastrophic recovery required"
> happened one day, but not the next time I tried it (as detailed in
> another thread).

I don't think so.

-- 
Matthias Andree



More information about the Bogofilter mailing list