Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Dec 2009 18:23:15 -0600
From:      Steve Randall <srandall52@gmail.com>
To:        Andrea Venturoli <ml@netfence.it>
Cc:        freebsd-questions@freebsd.org, APseudoUtopia <apseudoutopia@gmail.com>
Subject:   Re: I have mail, but where?
Message-ID:  <20091222182315.3e73f946@locust.local>
In-Reply-To: <4B314D4E.1020706@netfence.it>
References:  <4B314061.4090001@netfence.it> <27ade5280912221428u7f71f71es29aa31700a31b4a5@mail.gmail.com> <4B314D4E.1020706@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 22 Dec 2009 23:50:54 +0100
Andrea Venturoli <ml@netfence.it> wrote:

> APseudoUtopia ha scritto:
> > Type "mail"
> 
> You have 10 mail messages in /var/mail/.
> %mail
> No mail for  andrea

Are there really two spaces in a row there? That's a vital clue. For
some reason your 'USER' environment variable is set to ' andrea' (with a
leading space). Then .cshrc sets the 'mail' shell variable to
'(/var/mail/ andrea)'. That's now a list with two elements. Since the
first is a directory, csh counts the files in it, assuming they are
messages.

Since you don't have this problem with console logins, look for a
configuration error in your GUI login manager.

HTH



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