Great thanks everyone, it's the uppercase letter in the user name, I did
test this before posting by creating first one user called neil and it
was OK, then I created a user called Neil, and that was OK, but it
wasn't because it had sent this to the first username. -DOH.
Incidently useradd does not complain about the uppercase letter.
All the guys on our MSc course have never touched a Linux box before,
they are all M$ people. Shame, they all have good degrees in Comp Sci
from good uni's what are we teaching these days!
Many thanks to everyone,
Neil.
akonstam@xxxxxxxxxxx wrote:
On Wed, Dec 07, 2005 at 08:13:35AM -0600, Les Mikesell wrote:
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.
It is correct that Jenny as a user name was the problem but useradd
does not complain if Jenny is used as the user name.
--
Neil Marjoram
Systems Manager
Adastral Park Campus
University College London
Ross Building
Adastral Park
Martlesham Heath
Ipswich - Suffolk
IP5 3RE
Reclaim Your Inbox!
http://www.mozilla.org/products/thunderbird