Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Mar 2007 18:29:21 +0800
From:      Zheng Tianyu <zhengtianyu1983@yahoo.com.cn>
To:        Vince <jhary@unsane.co.uk>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: where environment variable MAIL was set?
Message-ID:  <20070330102921.GA3390@airfish.power.org>
In-Reply-To: <460CDF88.90002@unsane.co.uk>
References:  <20070330090734.GA1336@airfish.power.org> <460CDF88.90002@unsane.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Problem solved.

Thank you.


Zheng Tianyu

On Fri, Mar 30, 2007 at 10:59:36AM +0100, Vince wrote:
> Zheng Tianyu wrote:
> > Hi, All
> > 
> > My account name is airfish, after I sued to root, I found that the 
> > environment variable MAIL remained MAIL=/var/mail/airfish. As a result,
> > when I start mutt, it opens the airfish's mailbox. That's not what i
> > desired. But I can't find where the MAIL is set. Should I unsetenv MAIL
> > in my root's login file?
> 
> >From the manpage:
>  By default, the environment is unmodified with the exception of USER,
>      HOME, and SHELL.
> 
> and
> 
> 
> -l      Simulate a full login.  The environment is discarded except for
>              HOME, SHELL, PATH, TERM, and USER.  HOME and SHELL are
> 	     modified as above.
> 
> Vince
> > _______________________________________________
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070330102921.GA3390>