Sendmail - Unknow User.

Les Mikesell lesmikesell at gmail.com
Wed Dec 7 14:13:35 UTC 2005


On Wed, 2005-12-07 at 07:03, Neil Marjoram wrote:
> I have a small problem with sendmail.
> I have a number of students working on the configuration of some Fedora 
> systems as part of an MSc course we run. One of them has an interesting 
> problem I can't fathom out at all. When he sends a mail meesage to a 
> local user he has created sendmail returns the error dsn=5.1.1, 
> stat=User unknown. (we use command line mail to send the email) When I 
> create a user on the same box and send a mail there is no problem. I am 
> not sure how the student  created the user but I think it was with a 
> command like this : useradd -c 'works clerk--Jenny Rawring' -d 
> /workspace/home/Jenny/Jenny -s /bin/bash Jenny.
> You can su to the user, login from outside and send a mail from the user 
> to root, I can't find anything in the passwd etc. files that looks out 
> of place.
> 
> Does anyone know anything I may have missed.

Sendmail is going to lowercase the local part of the address
before trying to match users.  It isn't quite case insensitive,
it accepts upper/lower in the address and wants to match
lower in the passwd file entry.  Adduser should have given
you an 'invalid user name error', though.

-- 
  Les Mikesell
    lesmikesell at gmail.com





More information about the fedora-list mailing list