Date: Mon, 27 May 2013 03:47:21 +0200 From: Polytropon <freebsd@edvax.de> To: Michael Sierchio <kudzu@tenebras.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org>, Modulok <modulok@gmail.com> Subject: Re: Case sensitive usernames and sendmail - mystic voodoo Message-ID: <20130527034721.36fe24ca.freebsd@edvax.de> In-Reply-To: <CAHu1Y71WKX_Psywjwg_y1t4GCS20g6j1P5adBcORkcz9O%2Bu0GQ@mail.gmail.com> References: <CAN2%2BEpbZgS5rNKRs=GduqS54tVrDYFbO%2BgLAnbyFHS-sUAq2Pw@mail.gmail.com> <20130527031712.a6cbecf2.freebsd@edvax.de> <CAHu1Y71WKX_Psywjwg_y1t4GCS20g6j1P5adBcORkcz9O%2Bu0GQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 26 May 2013 18:36:41 -0700, Michael Sierchio wrote: > On Sun, May 26, 2013 at 6:17 PM, Polytropon <freebsd@edvax.de> wrote: > > > > On Sun, 26 May 2013 18:44:41 -0600, Modulok wrote: > > > I know usernames are case-sensitive, I thought emails were > > > too. > > > > If I remember e-mail basics correctly: No. They're not. > > For example, foo@example.com, FOO@example.com and Foo@example.com > > and all upper/lowercase variations are the same as foo@example.com. > > > > You remember incorrectly ;-) I checked again - and yes, it seems that my memory about the valid definition has changed to what is reality today, i. e. sendmail "rewriting" uppercase to lowercase prior to further processing. > The local part of an address (before the @ sign) is case-sensitive (with > the exception of postmaster@example.com) So it depends on how sendmail is configured that "it does not matter today". > Everything to the right of the @ is indeed case insensitive, but everything > to the left might be case sensitive, depending on local policy. This means > you must preserve the case of everything to the left of the @ sign. According to the link provided by Erich Dollansky, FreeBSD's default sendmail.cf setting of Mlocal, P=/usr/libexec/mail.local, F=lsDFMAw5 needs to be added the "u" option to the F= parameter to preserve the uppercase letters in the the left side (username) of the address. Maybe this additiion is required in other cf files containing Mlocal settings too? Of course it would be nice if there was a corresponding setting for the mc files which the cf files are usually generated from... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130527034721.36fe24ca.freebsd>