Case sensitive usernames and sendmail - mystic voodoo

Michael Sierchio kudzu at tenebras.com
Mon May 27 01:36:48 UTC 2013


On Sun, May 26, 2013 at 6:17 PM, Polytropon <freebsd at 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 at example.com, FOO at example.com and Foo at example.com
> and all upper/lowercase variations are the same as foo at example.com.
>

You remember incorrectly ;-)

The local part of an address (before the @ sign) is case-sensitive (with
the exception of postmaster at example.com)

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.


More information about the freebsd-questions mailing list