Bogofilter initialization problems

Eric Mings elm at answers123.com
Wed Oct 30 00:30:04 CET 2002


I get the same invalid argument error when I try this method to create 
the database.

On Monday, October 28, 2002, at 08:48  PM, Gyepi SAM wrote:

> 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