From: The Derfer on
The relay I'm sending to continually has this in its /var/log/maillog
EVERY time I send an e-mail
from one particular host (a dbserver with no dns):


Nov 13 11:15:13 mailhost sendmail[4199]: nADGFDxC004199: dbserver
[10.156.90.13] did not issue MAIL/EXPN/VRFY/ETRN during connection to
MTA

Corresponding entry in /var/log/maillog on the dbserver (yes, times
are a little out of sync but I don't
see what that has to do with anything):

Nov 13 11:17:02 localhost sendmail[3589]: nADGH2YG003589: from=root,
size=59, class=0, nrcpts=1,
msgid=<200911131617.nADGH2YG003589(a)localhost.localdomain>,
relay=root(a)localhost
Nov 13 11:17:02 localhost sendmail[3590]: nADGH2T1003590:
from=<root(a)localhost.localdomain>, size=356, class=0, nrcpts=1,
msgid=<200911131617.nADGH2YG003589(a)localhost.localdomain>,
proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Nov 13 11:17:02 localhost sendmail[3589]: nADGH2YG003589:
to=myname(a)gmail.com, ctladdr=root (0/0), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=30059, relay=[127.0.0.1]
[127.0.0.1], dsn=2.0.0, stat=Sent (nADGH2T1003590 Message accepted for
delivery)
Nov 13 11:17:07 localhost sendmail[3592]: nADGH2T1003590: SYSERR
(root): mailhost.mydomain.com config error: mail loops back to me (MX
problem?)
Nov 13 11:17:07 localhost sendmail[3592]: nADGH2T1003590:
to=<myname(a)gmail.com>, ctladdr=<root(a)localhost.localdomain> (0/0),
delay=00:00:05, xdelay=00:00:05, mailer=relay, pri=120356,
relay=mailhost.mydomain.com [10.156.80.131], dsn=5.3.5, stat=Local
configuration error
Nov 13 11:17:07 localhost sendmail[3592]: nADGH2T1003590:
nADGH7T1003592: DSN: Local configuration error
Nov 13 11:17:07 localhost sendmail[3592]: nADGH7T1003592:
to=<root(a)localhost.localdomain>, delay=00:00:00, xdelay=00:00:00,
mailer=local, pri=31608, dsn=2.0.0, stat=Sent


What the heck could be wrong?? I've stared at this for more than 20
hours and still no results.
This is as close as I've got.
Please help.

From: Greg Russell on
"The Derfer" <derf109(a)gmail.com> wrote in message
news:dd945ac7-e6d7-45b0-9e8d-2f1801d1bec8(a)s21g2000prm.googlegroups.com...

> Nov 13 11:17:07 localhost sendmail[3592]: nADGH2T1003590: SYSERR
> (root): mailhost.mydomain.com config error: mail loops back to me (MX
> problem?)

http://www.sendmail.org/faq/section4#4.5

> Nov 13 11:17:07 localhost sendmail[3592]: nADGH2T1003590:
> to=<myname(a)gmail.com>, ctladdr=<root(a)localhost.localdomain> (0/0),
> delay=00:00:05, xdelay=00:00:05, mailer=relay, pri=120356,
> relay=mailhost.mydomain.com [10.156.80.131], dsn=5.3.5, stat=Local
> configuration error
> Nov 13 11:17:07 localhost sendmail[3592]: nADGH2T1003590:
> nADGH7T1003592: DSN: Local configuration error

> What the heck could be wrong??

You've got a local configuration error, as the Delivery Status Notification
(DSN) clearly states.

If you post the results of

egrep -v "^dnl|^$" sendmail.mc

then someone will be better able to advise you.


From: The Derfer on
On Nov 13, 6:07 pm, "Greg Russell" <m...(a)privacy.net> wrote:
> "The Derfer" <derf...(a)gmail.com> wrote in message
>
> news:dd945ac7-e6d7-45b0-9e8d-2f1801d1bec8(a)s21g2000prm.googlegroups.com...
>
> > Nov 13 11:17:07 localhost sendmail[3592]: nADGH2T1003590: SYSERR
> > (root): mailhost.mydomain.com config error: mail loops back to me (MX
> > problem?)
>
> http://www.sendmail.org/faq/section4#4.5
>
> > Nov 13 11:17:07 localhost sendmail[3592]: nADGH2T1003590:
> > to=<myn...(a)gmail.com>, ctladdr=<r...(a)localhost.localdomain> (0/0),
> > delay=00:00:05, xdelay=00:00:05, mailer=relay, pri=120356,
> > relay=mailhost.mydomain.com [10.156.80.131], dsn=5.3.5, stat=Local
> > configuration error
> > Nov 13 11:17:07 localhost sendmail[3592]: nADGH2T1003590:
> > nADGH7T1003592: DSN: Local configuration error
> > What the heck could be wrong??
>
> You've got a local configuration error, as the Delivery Status Notification
> (DSN) clearly states.
>
> If you post the results of
>
>     egrep -v "^dnl|^$" sendmail.mc
>
> then someone will be better able to advise you.

Thank you.
Here it is:
[myname(a)dbserver mail]$ egrep -v "^dnl|^$" sendmail.mc
divert(-1)dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`setup for Red Hat Linux')dnl
OSTYPE(`linux')dnl
define(`SMART_HOST',`mailhost.domain.com')
define(`confDEF_USER_ID',``8:12'')dnl
define(`confTO_CONNECT', `1m')dnl
define(`confTRY_NULL_MX_LIST',true)dnl
define(`confDONT_PROBE_INTERFACES',true)dnl
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
define(`ALIAS_FILE', `/etc/aliases')dnl
define(`STATUS_FILE', `/var/log/mail/statistics')dnl
define(`UUCP_MAILER_MAX', `2000000')dnl
define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')
dnl
define(`confAUTH_OPTIONS', `A')dnl
define(`confTO_IDENT', `0')dnl
FEATURE(`no_default_msa',`dnl')dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
FEATURE(redirect)dnl
FEATURE(always_add_domain)dnl
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl
FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl
FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl
FEATURE(`blacklist_recipients')dnl
EXPOSED_USER(`root')dnl
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
FEATURE(`accept_unresolvable_domains')dnl
LOCAL_DOMAIN(`localhost.localdomain')dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
From: Greg Russell on
"The Derfer" <derf109(a)gmail.com> wrote in message
news:fc1fe917-791c-4f3b-b6a8-7f8c882fc933(a)f20g2000prn.googlegroups.com...

>> Nov 13 11:17:07 localhost sendmail[3592]: nADGH2T1003590:
....
>> relay=mailhost.mydomain.com [10.156.80.131], dsn=5.3.5, stat=Local
>> configuration error
>> Nov 13 11:17:07 localhost sendmail[3592]: nADGH2T1003590:
>> nADGH7T1003592: DSN: Local configuration error
....
> LOCAL_DOMAIN(`localhost.localdomain')dnl

So what's in your /etc/mail/local-host-names file?



From: The Derfer on
On Nov 20, 12:20 am, "Greg Russell" <m...(a)privacy.net> wrote:
> "The Derfer" <derf...(a)gmail.com> wrote in message
>
> news:fc1fe917-791c-4f3b-b6a8-7f8c882fc933(a)f20g2000prn.googlegroups.com...
>
>
>
> >> Nov 13 11:17:07 localhost sendmail[3592]: nADGH2T1003590:
> ...
> >> relay=mailhost.mydomain.com [10.156.80.131], dsn=5.3.5, stat=Local
> >> configuration error
> >> Nov 13 11:17:07 localhost sendmail[3592]: nADGH2T1003590:
> >> nADGH7T1003592: DSN: Local configuration error
> ...
> > LOCAL_DOMAIN(`localhost.localdomain')dnl
>
> So what's in your /etc/mail/local-host-names file?

Nothing's in that file on the dbserver. Nothing's in it on the
mailserver relay either.
Other hosts send to the relay fine (Solaris hosts) but these RHEL5
hosts don't
do it right. My RHEL AS/3 boxes even used it fine until I replaced
them with
new RHEL5 boxes.

On the mail relay server the file /etc/mail/relay-domains has EVERY
possible
permutation (FQDN and not) of the dbserver's name in it but still no
go.

What do you suggest? I never needed to populate that with anything in
older versions of RHEL AS/3.
This is RHEL5.