On Wed, Jan 9, 2013 at 10:35 AM, David Guntner <dav...@akamail.net> wrote: > Igor Cicimov grabbed a keyboard and wrote: >> On Wed, Jan 9, 2013 at 3:08 PM, David Guntner <dav...@akamail.net> wrote: >>> >>> Does anyone know where the $MAIL environment variable get set when a >>> user logs in? It's not in the ~/.profile or ~/.bashrc files that get >>> put in when the account is created. I'm not sure where to look.... >>> >>> Thanks! >> >> /etc/profile > > That's where I figured it would be. It ain't there. :-) I've searched > in the places I would expect to find it and several others that seemed > like they'd be worth a shot (/etc/bash.bashrc, /etc/bash_completion, > /etc/bash_completion.d, /etc/profile.d and of course, /etc/profile). > Scored a big zero for my efforts. > > Is there somewhere else that it's likely to be hiding?
MAIL is not set in my environment either (Wheezy/amd64). Try the following and see if it shows up in any file find $HOME -type f -exec egrep -Hn MAIL {} \; HTH -- Arun Khan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAHhM8gD=zVNou=mfcyerx1uke4aq8a2rt_am-k62ybk5ooq...@mail.gmail.com