Sendmail - Unknow User.

Neil Marjoram n.marjoram at adastral.ucl.ac.uk
Wed Dec 7 13:03:42 UTC 2005


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.

Many thanks,

Neil.

Extract of maillog at loglevel 64 :


Dec  7 12:03:32 yoxford sendmail[31614]: NOQUEUE: connect from 
localhost.localdomain [127.0.0.1]
Dec  7 12:03:32 yoxford sendmail[31614]: AUTH: available mech=LOGIN 
DIGEST-MD5 CRAM-MD5 ANONYMOUS PLAIN, allowed mech=EXTERNAL GSSAPI 
KERBEROS_V4 DIGEST-MD5 CRAM-MD5
Dec  7 12:03:32 yoxford sendmail[31614]: jB7C3W14031614: Milter: no 
active filter
Dec  7 12:03:32 yoxford sendmail[31614]: jB7C3W14031614: --- 220 
yoxford.adastral.ucl.ac.uk ESMTP Sendmail 8.13.1/8.13.1; Wed, 7 Dec 2005 
12:03:32 GMT
Dec  7 12:03:32 yoxford sendmail[31614]: jB7C3W14031614: <-- EHLO 
yoxford.adastral.ucl.ac.uk
Dec  7 12:03:32 yoxford sendmail[31614]: jB7C3W14031614: --- 
250-yoxford.adastral.ucl.ac.uk Hello localhost.localdomain [127.0.0.1], 
pleased to meet you
Dec  7 12:03:32 yoxford sendmail[31614]: jB7C3W14031614: --- 
250-ENHANCEDSTATUSCODES
Dec  7 12:03:32 yoxford sendmail[31614]: jB7C3W14031614: --- 250-PIPELINING
Dec  7 12:03:32 yoxford sendmail[31614]: jB7C3W14031614: --- 250-8BITMIME
Dec  7 12:03:32 yoxford sendmail[31614]: jB7C3W14031614: --- 250-SIZE
Dec  7 12:03:32 yoxford sendmail[31614]: jB7C3W14031614: --- 250-DSN
Dec  7 12:03:32 yoxford sendmail[31614]: jB7C3W14031614: --- 250-AUTH 
DIGEST-MD5 CRAM-MD5
Dec  7 12:03:32 yoxford sendmail[31614]: jB7C3W14031614: --- 250-DELIVERBY
Dec  7 12:03:32 yoxford sendmail[31614]: jB7C3W14031614: --- 250 HELP
Dec  7 12:03:32 yoxford sendmail[31614]: jB7C3W14031614: <-- MAIL 
From:<root at yoxford.adastral.ucl.ac.uk> SIZE=31 
AUTH=root at yoxford.adastral.ucl.ac.uk
Dec  7 12:03:32 yoxford sendmail[31614]: ruleset=trust_auth, 
arg1=root at yoxford.adastral.ucl.ac.uk, relay=localhost.localdomain 
[127.0.0.1], reject=550 5.7.1 <root at yoxford.adastral.ucl.ac.uk>... not 
authenticated
Dec  7 12:03:32 yoxford sendmail[31614]: jB7C3W14031614: --- 250 2.1.0 
<root at yoxford.adastral.ucl.ac.uk>... Sender ok
Dec  7 12:03:32 yoxford sendmail[31614]: jB7C3W14031614: <-- RCPT 
To:<Arthur at yoxford.adastral.ucl.ac.uk>
Dec  7 12:03:32 yoxford sendmail[31614]: jB7C3W14031614: --- 250 2.1.5 
<Arthur at yoxford.adastral.ucl.ac.uk>... Recipient ok
Dec  7 12:03:32 yoxford sendmail[31614]: jB7C3W14031614: <-- DATA
Dec  7 12:03:32 yoxford sendmail[31614]: jB7C3W14031614: --- 354 Enter 
mail, end with "." on a line by itself
Dec  7 12:03:32 yoxford sendmail[31614]: jB7C3W14031614: 
from=<root at yoxford.adastral.ucl.ac.uk>, size=353, class=0, nrcpts=1, 
msgid=<200512071203.jB7C3WxS031613 at yoxford.adastral.ucl.ac.uk>, 
proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Dec  7 12:03:32 yoxford sendmail[31614]: jB7C3W14031614: --- 250 2.0.0 
jB7C3W14031614 Message accepted for delivery
Dec  7 12:03:32 yoxford sendmail[31613]: jB7C3WxS031613: to=Arthur, 
ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, 
pri=30031, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent 
(jB7C3W14031614 Message accepted for delivery)
Dec  7 12:03:32 yoxford sendmail[31614]: jB7C3W15031614: <-- QUIT
Dec  7 12:03:32 yoxford sendmail[31614]: jB7C3W15031614: --- 221 2.0.0 
yoxford.adastral.ucl.ac.uk closing connection
Dec  7 12:03:33 yoxford MailScanner[31579]: New Batch: Scanning 1 
messages, 906 bytes
Dec  7 12:03:33 yoxford MailScanner[31579]: Virus and Content Scanning: 
Starting
Dec  7 12:03:33 yoxford MailScanner[31579]: Uninfected: Delivered 1 messages
Dec  7 12:03:33 yoxford sendmail[31618]: STARTTLS: ClientCertFile missing
Dec  7 12:03:33 yoxford sendmail[31618]: STARTTLS: ClientKeyFile missing
Dec  7 12:03:33 yoxford sendmail[31618]: STARTTLS: CACertPath missing
Dec  7 12:03:33 yoxford sendmail[31618]: STARTTLS: CACertFile missing
Dec  7 12:03:33 yoxford sendmail[31618]: STARTTLS: CRLFile missing
Dec  7 12:03:33 yoxford sendmail[31618]: STARTTLS=client, init=1
Dec  7 12:03:33 yoxford sendmail[31619]: jB7C3W14031614: alias 
<Arthur at yoxford.adastral.ucl.ac.uk> => Arthur
Dec  7 12:03:33 yoxford sendmail[31619]: jB7C3W14031614: alias Arthur => 
Arthur
Dec  7 12:03:33 yoxford sendmail[31619]: jB7C3W14031614: to=Arthur, 
ctladdr=<Arthur at yoxford.adastral.ucl.ac.uk> (8/0), delay=00:00:01, 
mailer=local, pri=120353, dsn=5.1.1, stat=User unknown
Dec  7 12:03:33 yoxford sendmail[31619]: jB7C3W14031614: 
to=<Arthur at yoxford.adastral.ucl.ac.uk>, delay=00:00:01, mailer=local, 
pri=120353, dsn=5.1.1, stat=User unknown
Dec  7 12:03:33 yoxford sendmail[31619]: jB7C3W14031614: jB7C3XMc031619: 
DSN: User unknown
Dec  7 12:03:33 yoxford sendmail[31619]: jB7C3XMc031619: 
to=<root at yoxford.adastral.ucl.ac.uk>, delay=00:00:00, xdelay=00:00:00, 
mailer=local, pri=31915, dsn=2.0.0, stat=Sent
Dec  7 12:03:33 yoxford sendmail[31619]: jB7C3XMc031619: done; 
delay=00:00:00, ntries=1
Dec  7 12:03:33 yoxford sendmail[31619]: jB7C3W14031614: done; 
delay=00:00:01, ntries=1

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




More information about the fedora-list mailing list