Advanced FAQ?

Eric Wood eric at interplas.com
Tue Dec 9 15:59:31 CET 2003


David, you've sent out a ton of bogo tricks (like below) that are very
interesting reads.

The http://bogofilter.sourceforge.net/bogofilter-faq.html isn't too scary or
big which is what turned me on to Bogofilter.  Now that I am understanding
more, may I suggest a
http://bogofilter.sourceforge.net/bogofilter-advancedfaq.html?

-Eric Wood

David Relson wrote:
>>> I have this very annoying problem. Until recently, bogofilter worked
>>> very well for me. But now there seems to be a problem: bogofilter -s
>>> doesn't do anything anymore. Whether it's a large body of spam, or a
>>> single mail, the program just hangs. I use version 0.15.7,
>>> goodlist.db is 15M large, spamlist.db is 5M.
>>
>> Can you use two wordlists with 0.15.x?
>>
>> Try doing a
>> db4_verify ./yourwordlist.db  # might use db3_verify or
>> db_verify
>> and see if that reports any errors.  You can clear those out by
>> simply dumping the database and re-creating it:
>>   bogoutil -d ./yourwordlist.db | bogoutil -l ./newwordlist.db
>>
>> Also see if there's anything else reading / writing to the database
>> file.  You can do that with a "lsof | grep list.db"
>>
>> Chris
>
> As Chris says, it's likely a b0rked database.  Depending on what's
> happened to it, "bogoutil -d ..." may go into a loop.  To be safe, you
> might want to run separate commands:
>
>    bogoutil -d old/goodlist.db | tee goodlist.txt
>    bogotuil -l new/goodlist.db < goodlist.txt
>
>    bogoutil -d old/spamlist.db | tee spamlist.txt
>    bogotuil -l new/spamlist.db < spamlist.txt
>
> After that, I'd recommend combining the separate wordlists into a
> single wordlist (which has been bogofilter's default configuration
> for several months) using "bogoupgrade"
>
> David





More information about the Bogofilter mailing list