Bootstrapping the database in a MUA-embedded scenario

David Relson relson at osagesoftware.com
Wed Aug 10 23:29:37 CEST 2005


On Thu, 11 Aug 2005 01:19:13 +0400
Mikhail Zabaluev wrote:

> __ ______, 10/08/2005 __ 17:07 -0400, David Relson __________:
> > > bogofilter -n -H </dev/null
> > 
> > That works too!
> 
> Nope, it doesn't update the word count. Too bad.

If the wordlist exists, bogofilter _can_ score messages.  The following
commands demonstrate this:

   rm -f wordlist.db
   bogofilter -d . -n < /dev/null
   bogoutil -d wordlist.db
   echo this is a test | bogofilter -vvv -d . -H

Of course bogofilter is happier when there's at least one ham and one
spam message (as shown by these additional commands):

   echo token | bogofilter -d . -n -H
   echo token | bogofilter -d . -s -H
   bogoutil -d wordlist.db
   echo this is a token test | bogofilter -vvv -d . -H




More information about the Bogofilter mailing list