From owner-freebsd-questions@FreeBSD.ORG Fri Mar 30 10:29:34 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E37D16A402 for ; Fri, 30 Mar 2007 10:29:34 +0000 (UTC) (envelope-from zhengtianyu1983@yahoo.com.cn) Received: from smtp102.plus.mail.re2.yahoo.com (smtp102.plus.mail.re2.yahoo.com [206.190.53.27]) by mx1.freebsd.org (Postfix) with SMTP id 2D53413C480 for ; Fri, 30 Mar 2007 10:29:34 +0000 (UTC) (envelope-from zhengtianyu1983@yahoo.com.cn) Received: (qmail 30079 invoked from network); 30 Mar 2007 10:29:33 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.cn; h=Received:X-YMail-OSG:Received:Date:From:To:Cc:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent; b=dF4DoWcnUT8TcbBZtgGUqS7voP7+py0Em/oz3SX49HArt5MUrbysyjc0NHDZCAGOPBzgZ8La+qxUakW0e2sP16cOrccuZ9ocLBCdn2X82pqs2ZtB7LpNgieOuQU0fbREnavg2gevRDLU4P5diLgf/RGH0YnsgLOTSTeADixNqtc= ; Received: from unknown (HELO mail.yahoo.com) (zhengtianyu1983@58.47.58.73 with login) by smtp102.plus.mail.re2.yahoo.com with SMTP; 30 Mar 2007 10:29:32 -0000 X-YMail-OSG: 8dDw_J0VM1mITHMOFU4Y9fogfMkadMPFYg3NnMFagT6iCDSIHvZ.2gt._P.qR8bZAE9Ls7KniyX.XCDKXu0Yqtsi7RM_4NqXUCfC95fWSl_P22y2A1gdd6awfhJR Received: by mail.yahoo.com (sSMTP sendmail emulation); Fri, 30 Mar 2007 18:29:21 +0800 Date: Fri, 30 Mar 2007 18:29:21 +0800 From: Zheng Tianyu To: Vince Message-ID: <20070330102921.GA3390@airfish.power.org> Mail-Followup-To: Vince , freebsd-questions References: <20070330090734.GA1336@airfish.power.org> <460CDF88.90002@unsane.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <460CDF88.90002@unsane.co.uk> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions Subject: Re: where environment variable MAIL was set? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Mar 2007 10:29:34 -0000 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"