Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Showing results for 
Search instead for 
Did you mean: 

sendmail and uppercase usernames

Go to solution
Carlos Fernandez Riera
Honored Contributor

sendmail and uppercase usernames

Helo family:

I have discover a (i supose) bad configuration of my sendmail.

lowercase mail is correctly dispatched to local mail but usernames in uppercase report unknown user.

what i must configure?

Alex Glennie
Honored Contributor

Re: sendmail and uppercase usernames

sendmail returns this error when it cannot properly identify the user that
the mail message is being directed to. In this case, the user exists on the
system, but the user's id has uppercase letters in it. sendmail will not
correctly understand uppercase letters in the userid or the systemname of
mail messages being sent unless configured to do so.

To tell sendmail to handle uppercase charactors in a mail address, edit
the /etc/mail/ file. Look for the line:

Mlocal, P=/bin/rmail, F=DFMPlms, .......

and change it to read

Mlocal, P=/bin/rmail, F=DFMPlmsu, .......

The "u" flag set in the F parameter will tell sendmail to handle uppercase
charactors like it does lowercase charactors.

After the change is made to the file, it's a good idea to stop
and restart the sendmail daemon with the commands:
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Carlos Fernandez Riera
Honored Contributor

Re: sendmail and uppercase usernames

Thanks Alex:

Running OK.

F= parameter is configured on 11.00 as:


I have added 'u':


Best regards.