Can't find $HOME.

Matthias Andree matthias.andree at gmx.de
Sun Nov 10 14:33:43 CET 2002


"Jim" <jim at jtackett.com> writes:

> I just upgraded to 0.8.0 and now bogofilter is lost and can't find it's
> HOME!  I get the error when it is called:
> Can't find $HOME.
> I have to disable bogofilter now to recieve email.
>
> In looking thru the NEWS, is this because of the new feature of the file
> bogofilter.cf?  I copied it to
> /usr/local/etc & also to /etc.  Any ideas?
>
> Using FreeBSD4.7

I just tried to reproduce the problem, but could not.

I created a new user with /bin/sh default shell, logged in, HOME is set:

$ env
SSH_CLIENT=192.168.0.1 33747 22
USER=blah
MAIL=/var/mail/blah
HOME=/home/blah
SSH_TTY=/dev/ttyp1
LOGNAME=blah
BLOCKSIZE=K
TERM=xterm
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/blah/bin
SSH_AUTH_SOCK=/tmp/ssh-nwS6vRlJ/agent.7461
SHELL=/bin/sh
FTP_PASSIVE_MODE=YES

I changed the shell to /bin/csh:
%env
USER=blah
LOGNAME=blah
HOME=/home/blah
MAIL=/var/mail/blah
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/blah/bin
TERM=xterm
BLOCKSIZE=K
FTP_PASSIVE_MODE=YES
SHELL=/bin/csh
SSH_CLIENT=192.168.0.1 33748 22
SSH_TTY=/dev/ttyp1
SSH_AUTH_SOCK=/tmp/ssh-6qScnB59/agent.7471
HOSTTYPE=FreeBSD
VENDOR=intel
OSTYPE=FreeBSD
MACHTYPE=i386
SHLVL=1
PWD=/home/blah
GROUP=blah
HOST=libertas.emma.line.org
REMOTEHOST=merlin

In either case, HOME is properly defined.

Which shell are you using and how are you invoking bogofilter?

-- 
Matthias Andree




More information about the Bogofilter mailing list