Date: Sun, 30 Nov 2003 17:31:48 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Marty Landman <MLandman@face2interface.com> Cc: iaccounts@northnetworks.ca Subject: Re: sendmail newbie question Message-ID: <20031130173148.GA4822@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <6.0.0.22.0.20031130113404.046b32f8@pop.face2interface.com> 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> <6.0.0.22.0.20031130113404.046b32f8@pop.face2interface.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--J2SCkAp4GZ/dPZZf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 30, 2003 at 11:48:18AM -0500, Marty Landman wrote: > >However on unix systems, user 'Marty' is not > >automatically the same as user 'marty' or as user 'MARTY'. =20 > If I understand correctly you're saying that by and large, modern Unix=20 > systems are case sensitive but since email is not the mailbox name e.g.= =20 > 'Marty' is converted to lower case at some point in processing even if=20 > mixed case is used by the person sending the email properly wrt the=20 > server's config it will still fail unless everything's all lower case=20 > because of the case conversion done behind the scenes? Correct -- although Unix has been case sensitive since way back. > >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? >=20 > Not me, because that would mean Marty@localhost would be a different=20 > address than marty@localhost, right? I have to agree that this is not imo= a=20 > good thing. As I said above, trying to make your username mixed case will give you grief with e-mail. However, it's pretty easy to have an all lower case username and make your e-mail address appear in whatever case you want, so long as the system can map them back to your username in order to do final delivery. For sendmail, you'ld use genericstable to do the username -> e-mail address translation on the outgoing messages and either aliases or virtusertable to translate e-mail address -> username on the incoming stuff. Just add: FEATURE(genericstable, `hash -o /etc/mail/genericstable')dnl to your /etc/mail/`hostname`.mc (assuming you're starting by copying /etc/mail/freebsd.mc, which already has virtusertable enabled). Then create a file /etc/mail/genericstable containing: marty Marty (LHS is the username, RHS is the e-mail address: you can use the fully qualified Marty@Example.com style if you want, or M.Landman@WhereEver.ORG). See aliases(5) for the syntax of the aliases file. virtusertable is just like genericstable except the columns are reversed and the e-mail address has to have an @... part: Marty@Example.com marty Then run: # cd /etc/mail # make # make install # make restart-mta Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --J2SCkAp4GZ/dPZZf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/yimEdtESqEQa7a0RAmVhAJ9TduFtHhfpkWgGdw44FS3OcMnugACcDD23 lDDh7qSQP+W7UlQOtV5xwQc= =epuq -----END PGP SIGNATURE----- --J2SCkAp4GZ/dPZZf--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031130173148.GA4822>