From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 08:48:26 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ADE8816A4CE for ; Sun, 30 Nov 2003 08:48:26 -0800 (PST) Received: from www6.web2010.com (www6.web2010.com [216.157.5.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5163343FDD for ; Sun, 30 Nov 2003 08:48:25 -0800 (PST) (envelope-from MLandman@face2interface.com) Received: from delliver.face2interface.com (dialup-wash-129-203.thebiz.net [64.30.129.203] (may be forged)) by www6.web2010.com (8.12.10/8.9.0) with ESMTP id hAUGm9A8001818; Sun, 30 Nov 2003 11:48:11 -0500 (EST) Message-Id: <6.0.0.22.0.20031130113404.046b32f8@pop.face2interface.com> X-Sender: face@pop.face2interface.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Sun, 30 Nov 2003 11:48:18 -0500 To: Matthew Seaman From: Marty Landman In-Reply-To: <20031130091432.GA885@happy-idiot-talk.infracaninophile.co. uk> References: <6.0.0.22.0.20031129192754.04727c48@pop.face2interface.com> <1070155168.417.3.camel@ptp.northnetworks.ca> <6.0.0.22.0.20031129203036.04e2d218@pop.face2interface.com> <20031130091432.GA885@happy-idiot-talk.infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: freebsd-questions@freebsd.org cc: iaccounts@northnetworks.ca Subject: Re: sendmail newbie question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Nov 2003 16:48:26 -0000 At 04:14 AM 11/30/2003, Matthew Seaman wrote: >Try changing your user account to 'marty' -- all lower case. Use >vipw(8) to do that. In general under Unix, usernames are almost >always all lower case and so are most host and domainnames. Ohhh, didn't know that. Thanks Matthew, this worked. >The problem is that sendmail(8) [ or any standards compliant MTA ] >expects e-mail addresses to be case insensitive. I knew that emails to mlandman@face2interface.com MLandman@face2interface.com are both handled the same way, but assumed the case insensitivity was a feature of the whole enchilada if you know what I mean. >The tricky part is the username -- here sendmail just passes the >username through in whatever case it gets *except* when it does final >delivery (ie. when it passes the message to the local delivery agent). >At that point, it maps the username to lowercase [snip] >However on unix systems, user 'Marty' is not >automatically the same as user 'marty' or as user 'MARTY'. If I understand correctly you're saying that by and large, modern Unix systems are case sensitive but since email is not the mailbox name e.g. 'Marty' is converted to lower case at some point in processing even if mixed case is used by the person sending the email properly wrt the server's config it will still fail unless everything's all lower case because of the case conversion done behind the scenes? >It is possible to set up sendmail to preserve the case of usernames >but doing so would mean your mail system wouldn't be standards >compliant, so I'll keep quiet on the issue -- unless anyone really >does have a burning desire to know how? Not me, because that would mean Marty@localhost would be a different address than marty@localhost, right? I have to agree that this is not imo a good thing. However it would be nice if any comparisons that get poisoned by the case conversion were themselves case insensitive e.g. uid =~ /$uid/i [in Perl] so that I could still have Marty as a user on my server. This does seem to help explain why on my web accounts my uid is case insensitive. Albeit they must have an lc convertor on the front end because mixed case works as well as lower case. Marty Landman Face 2 Interface Inc 845-679-9387 Sign On Required: Web membership software for your site Make a Website: http://face2interface.com/Home/Demo.shtml