From owner-freebsd-questions Wed Apr 18 16: 0:36 2001 Delivered-To: freebsd-questions@freebsd.org Received: from chmod.ath.cx (CC2-861.charter-stl.com [24.217.115.99]) by hub.freebsd.org (Postfix) with ESMTP id 4EABE37B422 for ; Wed, 18 Apr 2001 16:00:29 -0700 (PDT) (envelope-from ajh3@chmod.ath.cx) Received: by chmod.ath.cx (Postfix, from userid 1001) id 00D9EA91E; Wed, 18 Apr 2001 17:59:11 -0500 (CDT) Date: Wed, 18 Apr 2001 17:59:11 -0500 From: Andrew Hesford To: Pablo Quintana Cc: freebsd-questions@FreeBSD.ORG Subject: Re: A dot in the username Message-ID: <20010418175911.A69031@cec.wustl.edu> References: <5.0.2.1.0.20010418163936.0287e160@netsys.hn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <5.0.2.1.0.20010418163936.0287e160@netsys.hn>; from quintana@netsys.hn on Wed, Apr 18, 2001 at 04:41:46PM -0500 X-Loop: Andrew Hesford Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Apr 18, 2001 at 04:41:46PM -0500, Pablo Quintana wrote: > > How can I have my FreeBSD 4.2 to let me use dots in the username as > pablo.quintana@netsys.hn? > Thanks. > > Pablo Quintana > Gerente de Servicios Dedicados > The NetSys Company > San Pedro Sula, Honduras, C. A. > Tel. : +504 566-1055 > Fax : +504 566-3183 > Mobile: +504 991-1847 > e-mail: quintana@netsys.hn You want the actual username like that, or just the email address? I've never seen a username with a dot in it, although I don't see anything wrong with having it. Actually, out of curiosity, I just created a user with a dot in his name: ajh.3. Everything worked just fine. I don't know if adduser (or useradd; whatever it is) supports that, but then again, adduser puts strange limitations on the uid and gid fields. Using vipw had everything working just fine. If you just want to have the email address, you fool around with /etc/aliases or whatever your alias file is. You'll have to read up the docs for your mailserver on this one, things are different between different servers. For sendmail or postfix, you'd add a line like this: pablo.quintana: and rehash the database. This is where you need to check the docs. With postfix, I know it's "postalias"; sendmail is different. Some mail servers, for instance exim, don't even need a hashed database--they just parse /etc/aliases directly. Aliasing works like a dream, I've got a "chmod" alias for myself, and an alias for my brother which sends mail to another server. -- Andrew Hesford ajh3@chmod.ath.cx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message