OT: Need Help with Sendmail Issue

Nathan Johanson nathan at tcpnetworks.net
Thu Mar 16 02:22:10 GMT 2006


Hello all,

I apologize for posting a sendmail-only topic to the MailScanner list,
but I figured this list has a signifigant amount of collective Sendmail
knowledge (and everyone is so helpful).

I have a server running RHEL 3.x with the latest versions of
MailScanner, SpamAssassin, Clam, etc. It's using the stock RPM of
Sendmail version 8.12.11.

The system is configured to filter and forward mail to an internal
Exchange Server, with corresponding entries in the mailertable and
relay-domains files. It properly accepts mail for the domains in
question and routes them to the internal system - no problem. The issue
lies with mail sent to local accounts, such as root, postmaster, or any
other account I create locally. This means that my logwatch mailings,
cron logs, etc. --anything addressed to root are not delivered and get
dumped in /etc/mail/clientmqueue. Here is an excerpt from the maillogs
when I try sending an email to root, using something like "mail root"
from the command line. I have already confirmed that the root and
postmaster aliases are active... the root alias is redirected to another
email account tech at somedomain.org (sending email directly to this
account works just fine). I've done this sort of thing on several
servers w/out issue. The /var/ partition isn't full and I don't think
it's a permissions problem. I have some experience with Sendmail, but
I'm not a guru by any stretch. I'm pretty much out of ideas at this
point, so I'm hoping one of you may have some suggestions.

smtp.somedomain.org is the host name of the server in question. What's
particularly odd is that it returns a "DSN: User unknown" when sending
to root at localhost. I just don't get it. Thanks in advance!

Mar 15 14:36:53 smtp sendmail[2133]: k2FMarkG002133: from=root, size=34,
class=0, nrcpts=1, msgid=<200603152
236.k2FMarkG002133 at smtp.somedomain.org>, relay=root at localhost
Mar 15 14:36:53 smtp sendmail[2135]: k2FMarmW002135: ruleset=check_rcpt,
arg1=<root at smtp.somedomain.org>, relay=
smtp.somedomain.org [127.0.0.1], reject=550 5.0.0
<root at smtp.somedomain.org>... User Unknown
Mar 15 14:36:53 smtp sendmail[2133]: k2FMarkG002133: to=root at localhost,
ctladdr=root (0/0), delay=00:00:00, 
xdelay=00:00:00, mailer=relay, pri=30034, relay=[127.0.0.1] [127.0.0.1],
dsn=5.0.0, stat=User unknown
Mar 15 14:36:53 smtp sendmail[2135]: k2FMarmW002135:
from=<root at smtp.somedomain.org>, size=34, class=0, nrcpts=0
, proto=ESMTP, daemon=MTA, relay=smtp.somedomain.org [127.0.0.1]
Mar 15 14:36:53 smtp sendmail[2133]: k2FMarkG002133: k2FMarkH002133:
DSN: User unknown
Mar 15 14:36:53 smtp sendmail[2135]: k2FMarmY002135: ruleset=check_rcpt,
arg1=<root at smtp.somedomain.org>, relay=
smtp.somedomain.org [127.0.0.1], reject=550 5.0.0
<root at smtp.somedomain.org>... User Unknown
Mar 15 14:36:53 smtp sendmail[2133]: k2FMarkH002133: to=root,
delay=00:00:00, xdelay=00:00:00, mailer=relay,
 pri=31058, relay=[127.0.0.1] [127.0.0.1], dsn=5.0.0, stat=User unknown
Mar 15 14:36:53 smtp sendmail[2135]: k2FMarmY002135: from=<>, size=1058,
class=0, nrcpts=0, proto=ESMTP, dae
mon=MTA, relay=smtp.somedomain.org [127.0.0.1]
Mar 15 14:36:53 smtp sendmail[2133]: k2FMarkH002133: k2FMarkI002133:
return to sender: User unknown
Mar 15 14:36:53 smtp sendmail[2135]: k2FMarma002135: ruleset=check_rcpt,
arg1=<postmaster at smtp.somedomain.org>, 
relay=smtp.somedomain.org [127.0.0.1], reject=550 5.0.0
<postmaster at smtp.somedomain.org>... User Unknown
Mar 15 14:36:53 smtp sendmail[2133]: k2FMarkI002133: to=postmaster,
delay=00:00:00, xdelay=00:00:00, mailer=
relay, pri=32082, relay=[127.0.0.1] [127.0.0.1], dsn=5.0.0, stat=User
unknown
Mar 15 14:36:53 smtp sendmail[2135]: k2FMarma002135: from=<>, size=2082,
class=0, nrcpts=0, proto=ESMTP, dae
mon=MTA, relay=smtp.somedomain.org [127.0.0.1]
Mar 15 14:36:53 smtp sendmail[2133]: k2FMarkH002133: Losing
./qfk2FMarkH002133: savemail panic
Mar 15 14:36:53 smtp sendmail[2133]: k2FMarkH002133: SYSERR(root):
savemail: cannot save rejected email anyw
here

Sincerely - Nathan


More information about the MailScanner mailing list