[Gllug] MAIL environment variable

Stan stan at plato.wadham.ox.ac.uk
Tue Apr 30 12:36:26 UTC 2002


I've setup a machine with debian woody and qmail

It puts the mail in $HOME/Mailbox

I edited /etc/profile to include

MAIL="$HOME/Mailbox"

This seems to come through if the user's shell is /bin/bash but not if
it's /usr/bin/tcsh in which case it seems to be set as /var/mail/$USER

Have I tried to change the variable in the wrong place?

I also edited /etc/login.defs changing
MAIL_DIR /home
MAIL_FILE Mailbox

but that didn't even have an effect on bash?

What should I try next?

Stan

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list