sendmail ユーザー 大文字 小文字

名前に大文字が入っているユーザーにはメールを送信できません。sendmail(1M) は、すべての大文字を小文字に変換してからユーザーを検索します。UNIX では大文字小文字を区別するため、このような大文字から小文字に変更されたユーザー名を検索することができません。そのため、「User unknown」のメッセージが表示されます。
https://docs.oracle.com/cd/E19455-01/806-2720/msgs-2199/index.html

Sendmail and local users with uppercase letters

Diagnose

Sendmail's default configuration converts local user/mailbox names to all lowercase letters before delivery attempt. In your case email to LocalUser@myhost.net is delivered by sendmail to non existing localuser instead of existing LocalUser.

Possible fixes

Do not use usernames with uppercase letters

OR

Specify the only right uppercase and lowercase mix (fox given lowercase only string). It requires modification in sendmail.mc and aliases files.

http://www.sendmail.org/faq/section4.html#4.17
Subject: Q4.17 -- How do I handle user names with upper-case characters?

sendmail.mc file (requires recompilation into sendmail.cf file):

MODIFY_MAILER_FLAGS(`LOCAL', `+u')dnl

aliases file (requires recompilation with newaliases command):

# lowercase version to real for accounts with uppercase letters
localuser: LocalUser

fedora - Sendmail can't find local users (with uppercase letters) - Unix & Linux Stack Exchange