Bogofilter migration & tuneup

Matthias Andree matthias.andree at gmx.de
Tue Dec 6 12:38:23 CET 2005


Robin Bowes <robin-lists at robinbowes.com> writes:

> Robin Bowes said the following on 05/12/2005 17:40:
>> worldlist.save looks like this:
>> 
>> [root at batmobile .bogofilter]# head wordlist.saved
>>  2430
>>  2f00000004010000b7f43101
>>  24302e30
>>  0c0000000000000078ca3101
>>  24302e3030
>>  180000001c00000050f43101
>>  24302e303033
>>  0000000001000000c1f03101
>>  24302e303035
>>  000000000100000039f43101
>
> I tried db_dump -R which produced the following header at the top of the
> dump file:
>
> VERSION=3
> format=bytevalue
> type=btree
> keys=1
> HEADER=END
>
> So, I edited wordlist.saved which was produced using db_dump -r and it
> loaded OK using db_load.
>
> I'm now running bogoutil -d wordlist.db > wordlist.bogofilter, followed
> by bogoutil --db-transaction=yes -l wordlist.db < wordlist.bogofilter.
> This seems to be working (and producing shed loads of log files again!).

Yes, you'll see these log files intermittently, because they are
considered active by Berkeley DB until all information is in the
database proper.

         bogoutil --db-checkpoint=~/.bogofilter

will cause such synchronisation.

-- 
Matthias Andree



More information about the Bogofilter mailing list