Operating System - HP-UX
1752620 Members
4593 Online
108788 Solutions
New Discussion юеВ

sendmail and uppercase usernames

 
SOLVED
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?


unsupported
2 REPLIES 2
Alex Glennie
Honored Contributor
Solution

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/sendmail.cf 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 sendmail.cf 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:

F=lsDFMAw5:/|@m,

I have added 'u':

F=lsDFMAw5u:/|@m,

Best regards.
unsupported