$BOGOFILTER_DIR has no effect, rc example: bogofilter_dir not recognized

Christian Ebert bcc at phloxic.productions
Sat Apr 19 09:51:50 CEST 2025


* Masaru Nomiya on Saturday, April 19, 2025 at 11:49:56 +0900:
> [CE] == Christian Ebert <bcc at phloxic.productions> has written:
> 
> [...]
> CE>  However, setting
> CE>  bogofilter_dir=/Users/myself/some/location
> CE>  has not effect. The -QQ query tells us the real option name: bogofilter-dir
> 
> Please use bogofilter-dir:
> 
>      bogofilter-dir=/Users/myself/some/location

Yes, that's what I found out and am doing now.

That's the bug in the configuration example.

What it still not working is the handling of the $BOGOFILTER_DIR 
environment. The manual says:

ENVIRONMENT
        Bogofilter uses a database directory, which can be set in the config
        file. If not set there, bogofilter will use the value of
        BOGOFILTER_DIR. Both can be overridden by the -d dir option. If none of
        that is available, bogofilter will use directory $HOME/.bogofilter.

This should also work when I export 
$BOGOFILTER_DIR=/some/location
in my shell rcfile, but it doesn't.

-- 
LAST SHIP HOME
The circumnavigation of the world of the Peter von Danzig
Winner of the German Ocean Film Award 2019
Watch the movie in full online: https://lastshiphome.de/en/movie


More information about the bogofilter mailing list