Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jul 2008 02:34:57 +0930
From:      Malcolm Kay <malcolm.kay@internode.on.net>
To:        freebsd-questions@freebsd.org
Cc:        EdwardKing <zhangsc@neusoft.com>
Subject:   Re: mail not work
Message-ID:  <200807130234.57797.malcolm.kay@internode.on.net>
In-Reply-To: <002b01c8e2ed$4c486ac0$3f83a8c0@neusofteaf5839>
References:  <002b01c8e2ed$4c486ac0$3f83a8c0@neusofteaf5839>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 11 Jul 2008 10:00 am, EdwardKing wrote:
> I use mailx command,such as Tom to Kate,I like following
> command: $mail Kate
> Subject:Hello
> Hello world
> (press Ctrl+D)
> EOT
>
> Then I use user Kate to login,and check mail,
> $mail
> No mail for Kate
>
> Why I can't receive letter? where is wrong?
>

Perhaps something to do with using uppercase in login names:
=46rom adduser(8) man page:
     username
             Login name.  The user name is restricted to whatever pw(8) will
             accept.  Generally this means it may contain only lowercase ch=
ar-
             acters or digits but cannot begin with the `-' character.  Max=
i-
             mum length is 16 characters.  The reasons for this limit are h=
is-
             torical.  Given that people have traditionally wanted to break
             this limit for aesthetic reasons, it has never been of great
             importance to break such a basic fundamental parameter in UNIX.
             You can change UT_NAMESIZE in <utmp.h> and recompile the world;
             people have done this and it works, but you will have problems
             with any precompiled programs, or source that assumes the 8-ch=
ar-
             acter name limit, such as NIS.  The NIS protocol mandates an
             8-character username.  If you need a longer login name for e-m=
ail
             addresses, you can define an alias in /etc/mail/aliases.


Malcolm Kay



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