Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 May 2013 08:09:19 +0700
From:      Erich Dollansky <erichsfreebsdlist@alogt.com>
To:        Modulok <modulok@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Case sensitive usernames and sendmail - mystic voodoo
Message-ID:  <20130527080919.1e149ef7@X220.ovitrap.com>
In-Reply-To: <CAN2%2BEpbZgS5rNKRs=GduqS54tVrDYFbO%2BgLAnbyFHS-sUAq2Pw@mail.gmail.com>
References:  <CAN2%2BEpbZgS5rNKRs=GduqS54tVrDYFbO%2BgLAnbyFHS-sUAq2Pw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Sun, 26 May 2013 18:44:41 -0600
Modulok <modulok@gmail.com> wrote:

> List,
> 
> Step1: Make a new user::
> 
>     root@localhost# pw useradd foo -m -s /bin/tcsh -h 0
>     password for user foo: (secret)
> 
> Step 2: Does sendmail know them::
> 
>     root@modunix# sendmail -bv foo@localhost
>     foo@localhost... deliverable: mailer local, user foo
> 
>     # Good...
> 
> Step 3: Make a new user with uppercase 'B'::
> 
>     root@localhost# pw useradd Bar -m -s /bin/tcsh -h 0
>     password for user Bar: (secret)
> 
> Step 4: Does sendmail know them::
> 
>     root@modunix# sendmail -bv Bar@localhost
>     Bar@localhost... User unknown
> 
> 
> Curious, why? I know usernames are case-sensitive, I thought emails
> were too. Without fighting an epic battle with with the sendmail
> configs, is there a simple way to make this work?
> 
> The obvious answer is probably, "usernames should be lowercase!" and
> for new users I'll enforce that policy. For existing users however,
> who may already have lots of case-sensitive usernames in various
> config files, etc this isn't a real option. By just altering their
> usernames I'm afraid I'd break the whole damn universe. How can I
> enable mail for them?
> 
have you read this?

http://www.linuxquestions.org/questions/linux-software-2/sendmail-unable-to-find-users-22290/

Erich



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130527080919.1e149ef7>