problem specifing wordlist

Jake Di Toro karrde at cox.net
Tue Jan 28 00:09:45 CET 2003


Using version 0.9.1.2

/usr/local/etc/bogofilter.cf:
user_config_file=~/.bogofilter/config


~/.bogofilter/config:
wordlist s,spam,~/var/lib/bogofilter/spamlist.db,1,0,0
wordlist g,good,~/var/lib/bogofilter/goodlist.db,1,0,0

 >bogofilter -x c -v < /dev/null
Reading /usr/local/etc/bogofilter.cf
[snipage]
user_config_file -> '~/.bogofilter/config'
Reading /home/karrde/.bogofilter/config
[snipage]
bogofilter (db) open: ~/var/lib/bogofilter/spamlist.db: No such file or
directory
bogofilter: Cannot initialize database spam.

>ls ~/var/lib/bogofilter/
goodlist.db  spamlist.db

So am I missing something here with this option... I'm using this since
there is no option to set the wordlist directory in the config file.  I'd
rather not rely on enviroment variables, and dispise having to constantly
use a command switch for something that should be specified in a config
file.  I guess what get's me is the incosistancy that ~/ works to specify
the personal conf, but not for wordlists....

-- 
Till Later,
Jake





More information about the Bogofilter mailing list