upgrade
David Relson
relson at osagesoftware.com
Sat Aug 2 13:50:44 CEST 2003
At 07:13 AM 8/2/03, Bartosz Aninowski wrote:
>I've been using bogogilter with success.
>Lately I've instaled bogofilter 0.14 on fresh rh9 with berkleydb4.1
>I took from my old system files spamlist.db and goodlist.db.
>Now I have problem to run boofilter in usual way
>cat /var/spool/mail/michal | bogofilter -p -v -d /bogolist/
>Can't open word (/bogolist/), errno 2, No such file or directory
>
>ls -al /bogolist/
>total 36036
>drwxrwxrwx 2 root root 4096 Aug 2 13:11 .
>drwxr-xr-x 21 root root 4096 Aug 2 12:09 ..
>-rwxrwxrwx 1 root root 17580032 Aug 2 10:21 goodlist.db
>-rwxrwxrwx 1 777 root 19263488 Aug 2 10:21 spamlist.db
Bartosz,
This is a new problem and I've been unable to reproduce it with 0.14.
Let's run a test with flags to make bogofilter give more information of its
database operations. Try running:
ldd bogofilter
bogofilter -C -vv -x d -d /bogol/ < /dev/null
and send me the output. It should be very similar to:
[relson at osage src]$ ldd bogofilter
libm.so.6 => /lib/i686/libm.so.6 (0x4001e000)
libdb-3.3.so => /lib/libdb-3.3.so (0x40040000)
libc.so.6 => /lib/i686/libc.so.6 (0x400e2000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
[relson at osage src]$ bogofilter -C -vv -x d -d /var/lib/bogofilter/ < /dev/null
db_open( /var/lib/bogofilter/spamlist.db, 0 ) -> 0
db_open( /var/lib/bogofilter/goodlist.db, 0 ) -> 0
X-Bogosity: No, tests=bogofilter, spamicity=0.415000, version=0.14.0
int cnt prob spamicity histogram
0.00 0 0.000000 0.415000
0.10 0 0.000000 0.415000
0.20 0 0.000000 0.415000
0.30 0 0.000000 0.415000
0.40 0 0.000000 0.415000
0.50 0 0.000000 0.415000
0.60 0 0.000000 0.415000
0.70 0 0.000000 0.415000
0.80 0 0.000000 0.415000
0.90 0 0.000000 0.415000
db_close (/var/lib/bogofilter/spamlist.db,/var/lib/bogofilter/goodlist.db) sync
Also, there have been some bug fixes, so it would be a good idea to get
0.14.2 (which will be released later today).
David
More information about the Bogofilter
mailing list