bf_compact ruined my wordlist.db

Thomas Novin thnov at xyz.pp.se
Fri Jan 4 14:21:53 CET 2008


Hello

When I ran the bf_compact command as described in the FAQ it seems to
have totally ruined my database.

$ dpkg -l | grep bogofilter
ii  bogofilter                                 1.1.5-2ubuntu2
a fast Bayesian spam filter (dummy package)
ii  bogofilter-bdb                             1.1.5-2ubuntu2
a fast Bayesian spam filter (Berkeley DB)
ii  bogofilter-common                          1.1.5-2ubuntu2
a fast Bayesian spam filter (common files)
$ ls -la .bogo*
-rw-r--r-- 1 mypc mypc  280 2008-01-04 13:35 .bogofilter.cf

.bogofilter:
total 992
drwxr-xr-x   2 mypc mypc    4096 2007-12-07 14:08 .
drwxr-xr-x 107 mypc mypc    4096 2008-01-04 13:35 ..
-rw-r--r--   1 mypc mypc 1003520 2008-01-04 13:43 wordlist.db
$ bf_compact ~/.bogofilter wordlist.db
Can't open wordlist './wordlist.db'
$ ls -la .bogofilter
total 16
drwxr-xr-x   2 mypc mypc 4096 2008-01-04 13:45 .
drwxr-xr-x 108 mypc mypc 4096 2008-01-04 13:45 ..
-rw-r--r--   1 mypc mypc 8192 2008-01-04 13:45 wordlist.db

Did some searching on the subject on the mailing list but couldn't find
anything, what's wrong?

Rgds





More information about the Bogofilter mailing list