RH 9 & bogofilter-static

David Relson relson at osagesoftware.com
Fri Dec 23 05:45:20 CET 2005


Greetings all,

Al Donaldson is having trouble with RH 9 and
bogofilter-static-1.0.0-1.i586.rpm.  He initially reported a problem
with the non-static version.  As it seemed like it might be BerekeleyDB
version related, he switched to the static rpm.  Unfortunately, that
didn't help.

Is anybody out there using bogofilter-1.0.0 with RH 9?  Any problems?
Can you run some tests?  If so, I'd like to see the output of the
script below.

Thanks,

David

#!/bin/sh -x

WD=`pwd`

BOGOUTIL="bogoutil"

ls -l `which $BOGOUTIL`*

case `ls wordlist*` in
    wordlist)
	WORDLIST_TXT="wordlist"
	;;
    wordlist.txt)
	WORDLIST_TXT="wordlist.txt"
	;;
    *)
	echo File 'wordlist' or 'wordlist.txt' must be present
	echo Generate with "bogoutil -d $PATH_TO_WORDLIST > wordlist.txt"
	exit 1
esac

if [ ! -d testbogo ] ; then
  mkdir testbogo
fi

if [ ! -f testbogo.sh ] ; then
  echo bogofilter_dir=$WD/testbogo.d > testbogo.cf
fi

cd testbogo

cat ../$WORDLIST_TXT | $BOGOUTIL -c ../testbogo.cf -l wordlist.db 

ls -l

$BOGOUTIL -w wordlist.db .MSG_COUNT head:osagesoftware.com



More information about the Bogofilter mailing list