Bogofilter initialization problems

Gyepi SAM gyepi at praxis-sw.com
Tue Oct 29 05:48:22 CET 2002


On Mon, Oct 28, 2002 at 11:18:06PM -0800, Eric Mings wrote:
> 
> Well after finally getting bogofilter installed I am having difficulty 
> getting it to process my stored spam and nonspam mbx files. When I 
> attempt the instructions to initialize I get:
> 
> [localhost:/Applications/BogoMailPrimer] elm% bogofilter -d . -s < 
> Spam.mbox
> bogofilter (db) open: ./goodlist.db: Invalid argument
> bogofilter: Cannot initialize database good.
> 
> Not sure what I am  doing wrong. I am working on OSX  with the apple 
> mail app files. Suggestions greatly appreciated. 

You're not doing anything wrong. BerkeleyDB-4.1 appears to have tightened the
semantics of specifying both the read-only and create flags to open.

The short-term solution is to create the databases first;

	% bogoutil -l ./goodlist.db < /dev/null 
	% bogoutil -l ./spamlist.db < /dev/null

I'll have to think about a longer term solution.

-Gyepi 




More information about the Bogofilter mailing list