From owner-freebsd-questions@FreeBSD.ORG Sat Jul 12 17:05:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A4E91065671 for ; Sat, 12 Jul 2008 17:05:01 +0000 (UTC) (envelope-from malcolm.kay@internode.on.net) Received: from ipmail01.adl6.internode.on.net (ipmail01.adl6.internode.on.net [203.16.214.146]) by mx1.freebsd.org (Postfix) with ESMTP id 0FB318FC15 for ; Sat, 12 Jul 2008 17:05:00 +0000 (UTC) (envelope-from malcolm.kay@internode.on.net) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtEEAB2BeEh5LQ2Y/2dsb2JhbACBWqcs X-IronPort-AV: E=Sophos;i="4.30,350,1212330600"; d="scan'208";a="147392523" Received: from ppp121-45-13-152.lns10.adl2.internode.on.net (HELO alpha.home) ([121.45.13.152]) by ipmail01.adl6.internode.on.net with ESMTP; 13 Jul 2008 02:34:58 +0930 From: Malcolm Kay Organization: at home To: freebsd-questions@freebsd.org Date: Sun, 13 Jul 2008 02:34:57 +0930 User-Agent: KMail/1.8 References: <002b01c8e2ed$4c486ac0$3f83a8c0@neusofteaf5839> In-Reply-To: <002b01c8e2ed$4c486ac0$3f83a8c0@neusofteaf5839> MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200807130234.57797.malcolm.kay@internode.on.net> Cc: EdwardKing Subject: Re: mail not work 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: Sat, 12 Jul 2008 17:05:01 -0000 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 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