$BOGOFILTER_DIR has no effect, rc example: bogofilter_dir not recognized
Christian Ebert
bcc at phloxic.productions
Sat Apr 19 10:25:30 CEST 2025
* Christian Ebert on Friday, April 18, 2025 at 19:44:01 +0100:
> I ran into issues when changing the BOGOFILTER_DIR location:
>
> 1. $BOGOFILTER_DIR
>
> works for testing when explicitly set, e.g. the following does not
> create the default $HOME/.bogofilter, but the desired location:
>
> $ export BOGOFILTER_DIR=/Users/myself/some/location
> $ bogofilter -QQ | grep bogofilter-dir
> bogofilter-dir = /Users/myself/some/location
>
> However, when set e.g. in bashrc, and with new login shell:
> $ echo $BOGOFILTER_DIR
> /Users/myself/some/location
> $ bogofilter -QQ | grep bogofilter-dir
> bogofilter-dir = /Users/myself/.bogofilter
Addendum: when set in systemwide /etc/bashrc
export BOGOFILTER_DIR="$HOME/some/location"
bogofilter -QQ reports the intended location, but running
bogofilter still creates $HOME/.bogofilter
Same with additionally setting BOGOFILTER_DIR for maildropfilter.
--
So dacht ich. Nächstens mehr.
_HÖLDERLIN: HYPERION_
🔗 https://phloxic.productions/blv/hyperion
More information about the bogofilter
mailing list