multiple database updates?
Dave Lovelace
dave at firstcomp.biz
Fri Apr 4 21:20:19 CEST 2003
On further inspection, I find that it appears that, though the new directory
(with its goodlist.db & spamlist.db) files is created, these files are not
the ones which are updated, though they are touched by each operation of
bogofilter. (mtimes change, but bogoutil -d shows nothing from either.)
Curiouser & curiouser ...
--
- Dave Lovelace
dave at firstcomp.biz
davel at cyberspace.org
Dave Lovelace wrote:
>
> 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
>
> ---------------------------------------------------------------------
> FAQ: http://bogofilter.sourceforge.net/bogofilter-faq.html
> To unsubscribe, e-mail: bogofilter-unsubscribe at aotto.com
> For summary digest subscription: bogofilter-digest-subscribe at aotto.com
> For more commands, e-mail: bogofilter-help at aotto.com
>
More information about the Bogofilter
mailing list