Virtual home-directories

RW rwmaillists at googlemail.com
Tue Sep 15 15:24:44 CEST 2009


Some mail related tools support the concept of virtual home
directories - a place where per user configuration can be stored
for virtual account.

In SpamAssassin you can simply set HOME to the user's virtual home
directory and everything just works.

When I've tried this in Bogofilter, I've found that the wordlist is
found under $HOME, but the .bogofilter.cf file is read from the real
unix home directory. The workaround is straightforward, I just use:

  bogofilter -c $HOME/.bogofilter.cf

but it's a bit clumsy if I just want to try something on the
command-line. It would be nice if Bogofilter could just take
everything from $HOME by default.



More information about the Bogofilter mailing list