database creation problems

David Relson relson at osagesoftware.com
Mon Dec 30 21:18:25 CET 2002


At 03:05 PM 12/30/02, David Relson wrote:

>Hey all you DB3 experts, I've got a problem for you to solve.

Never mind.  I solved my own riddle.

When running "bogofilter -f -d dir -n < /dev/null", bogofilter gets the 
directory specification first.  As the program doesn't know that it'll be 
writing, i.e. the "-n" switch, it tries to read the wordlist.  It's 
justifiably unhappy when it doesn't find one.

The fix is to put the "-n" before the "-d dir".  The "-n" tells bogofilter 
that it'll be registering words and should create the database if it's missing.

I hadn't realized that argument order mattered, so some days I'd get it 
right and some days I'd get it wrong.

Life is ever interesting ...

David




Return-Path: <>
Delivered-To: mark at osagesoftware.com
Received: from lists.aotto.com (sfo.drudgereport.com [66.28.209.210])
	by osagesoftware.com (Postfix) with SMTP id 329F128A6D
	for <mark at osagesoftware.com>; Mon, 30 Dec 2002 15:20:44 -0500 (EST)
Received: (qmail 27743 invoked for bounce); 30 Dec 2002 20:21:00 -0000
Date: 30 Dec 2002 20:21:00 -0000
From: MAILER-DAEMON at lists.aotto.com
To: mark at osagesoftware.com
Subject: failure notice
Message-Id: <20021230202044.329F128A6D at osagesoftware.com>
X-Bogosity: No, tests=bogofilter, spamicity=0.000116, version=0.10.2.tst.20030210
	  int  cnt    prob   spamicity  histogram
	 0.00   11  0.028644  0.007998  ###########
	 0.10   10  0.138062  0.038518  ##########
	 0.20    7  0.239829  0.072623  #######
	 0.30    8  0.345768  0.123976  ########
	 0.40    0  0.000000  0.123976  
	 0.50    0  0.000000  0.123976  
	 0.60   11  0.654775  0.249904  ###########
	 0.70    2  0.771689  0.272763  ##
	 0.80    4  0.812906  0.316021  ####
	 0.90    1  0.966538  0.334415  #

Hi. This is the qmail-send program at lists.aotto.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<bogofilter at lists.aotto.com>:
Sorry, only subscribers may post. If you are a subscriber, please forward this message to bogofilter-owner at aotto.com to get your new address included (#5.7.2)

--- Below this line is a copy of the message.

Return-Path: <mark at osagesoftware.com>
Received: (qmail 27736 invoked from network); 30 Dec 2002 20:21:00 -0000
Received: from sfo.drudgereport.com (HELO sfo.ha-hosting.com) (66.28.209.210)
  by 127.0.0.1 with SMTP; 30 Dec 2002 20:21:00 -0000
Received: from osagesoftware.com (dsl-65-186-161-49.telocity.com [65.186.161.49])
	by sfo.ha-hosting.com (Postfix) with ESMTP id 50A572FF18
	for <bogofilter at aotto.com>; Mon, 30 Dec 2002 12:21:00 -0800 (PST)
Received: from maple.osagesoftware.com (maple.osagesoftware.com [192.168.1.20])
	by osagesoftware.com (Postfix) with ESMTP id 338DA28A6D
	for <bogofilter at aotto.com>; Mon, 30 Dec 2002 15:20:42 -0500 (EST)
Message-Id: <4.3.2.7.2.20021230152018.02ecccf0 at mail.osagesoftware.com>
X-Sender: mark at mail.osagesoftware.com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.2
Date: Mon, 30 Dec 2002 15:20:40 -0500
To: bogofilter at aotto.com
From: Mark Relson <mark at osagesoftware.com>
Subject: subscribee
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed




More information about the bogofilter-dev mailing list