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....@localhost.localdomain>,
relay=root@localhost
Nov 13 11:17:02 localhost sendmail[3590]: nADGH2T1003590:
from=<ro...@localhost.localdomain>, size=356, class=0, nrcpts=1,
msgid=<200911131617....@localhost.localdomain>,
proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Nov 13 11:17:02 localhost sendmail[3589]: nADGH2YG003589:
to=myn...@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=<myn...@gmail.com>, ctladdr=<ro...@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=<ro...@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.
> 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...@gmail.com>, ctladdr=<ro...@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@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
>> 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.
> This is RHEL5.- Hide quoted text -
>
> - Show quoted text -
> > - Show quoted text -- Hide quoted text -