multiple database updates?
Dave Lovelace
dave at firstcomp.biz
Fri Apr 4 21:13:24 CEST 2003
I'm planning to change the way we've got things set up (we've only been
trying this for a week or so), & was doing some testing, & I see something
I sure don't understand.
We have a systemwide bogofilter.cf, which has in it the default path for the
user's config file:
bogofilter_dir=~/.bogofilter
I set up another dir for databases (by copying the files) in a directory
under /usr/local/etc. For a user account I use for testing, I added
a line to that user's .bogofilter.cf file (& in fact this is the totality
of that file):
bogofilter_dir=/usr/local/etc/bogofilter.lists
I then ran (logged into that account) this command:
bogofilter -vs < testmsg
I see the following output:
Created directory /path_to_home_dir/.bogofilter .
# 160 words, 1 message
And, indeed, there is now a .bogofilter dir with database files in it.
Shouldn't the settings in the user's config file override the global
settings?
bogofilter -v shows:
bogofilter version 0.11.1.3
Copyright (C) 2002 Eric S. Raymond
and the disclaimer/distribution notice.
--
- Dave Lovelace
dave at firstcomp.biz
davel at cyberspace.org
More information about the Bogofilter
mailing list