wordlist.db problem
David Relson
relson at osagesoftware.com
Fri Jun 18 05:15:42 CEST 2004
On Thu, 17 Jun 2004 16:45:08 -0700
OTR Comm wrote:
> Hello,
>
> I have just joined this list, and the list archive site was not
> working, so I couldn't check the archive for this problem.
>
> What would make my wordlist.db file not update?
>
> I have a message that is definitely spam and tried to train bogofilter
> on the database with:
>
> bogofilter -d .bogofilter -s < spam/spam.31514
>
> and the ran
>
> bogofilter -u -e -p -d .bogofilter < spam/spam.31514
>
> but the message still came back
>
> X-Bogosity: No, tests=bogofilter, spamicity=0.520000, version=0.90.0
>
> I have just started using bogofilter (within the past month), so I am
> not sure what is going on here. That is, why the database didn't
> update. The timestamp changed, so I know something happened.
>
> Even when I tried bogofilter -d .bogofilter -Ns < spam/spam.31514, the
> database wasn't updated correctly.
>
>
> Thanks,
> Murrah Boswell
Hi Murrah,
You're the first to report such a problem with 0.90. Are you sure
you've got the proper path for your wordlist file and that it has proper
permissions?
Evidently you're using .bogofilter as your directory name. The usual
directory is ~/.bogofilter, which can also be written as
$HOME/.bogofilter. However, .bogofilter is also acceptable, so long as
you're running bogofilter from the proper directory.
What is the output of command "ls -l .bogofilter/wordlist.db"?
Bogofilter has some debugging switches which will make it print info
about database operations. Try adding switches "-x d -vv" to your
command, as in "bogofilter -d .bogofilter -s -x d -vv < spam/spam.31514"
and post the output.
Also you can use bogoutil to display the contents of the wordlist, as in
"bogoutil -d .bogofilter/wordlist.db". If you're interested in the spam
and ham counts for particular words, run "bogoutil -w
.bogofilter/wordlist.db word1 word2 word3".
In your example, the score of 0.520000 is what I'd expect when
bogofilter is running with an empty wordlist (or has been given the
wrong location for the wordlist).
HTH,
David
More information about the Bogofilter
mailing list