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@localhost.localdomain>,
relay=root@localhost
Nov 13 11:17:02 localhost sendmail[3590]: nADGH2T1003590:
from=<root@localhost.localdomain>, size=356, class=0, nrcpts=1,
msgid=<200911131617.nADGH2YG003589@localhost.localdomain>,
proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Nov 13 11:17:02 localhost sendmail[3589]: nADGH2YG003589:
to=myname@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@gmail.com>, ctladdr=<root@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@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.
|
|
0
|
|
|
|
Reply
|
The
|
11/13/2009 4:33:51 PM |
|
"The Derfer" <derf109@gmail.com> wrote in message
news:dd945ac7-e6d7-45b0-9e8d-2f1801d1bec8@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@gmail.com>, ctladdr=<root@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.
|
|
0
|
|
|
|
Reply
|
Greg
|
11/13/2009 11:07:47 PM
|
|
On Nov 13, 6:07=A0pm, "Greg Russell" <m...@privacy.net> wrote:
> "The Derfer" <derf...@gmail.com> wrote in message
>
> news:dd945ac7-e6d7-45b0-9e8d-2f1801d1bec8@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=3D<myn...@gmail.com>, ctladdr=3D<r...@localhost.localdomain> (0/0),
> > delay=3D00:00:05, xdelay=3D00:00:05, mailer=3Drelay, pri=3D120356,
> > relay=3Dmailhost.mydomain.com [10.156.80.131], dsn=3D5.3.5, stat=3DLoca=
l
> > 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 Notificati=
on
> (DSN) clearly states.
>
> If you post the results of
>
> =A0 =A0 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=3Dsmtp,Addr=3D127.0.0.1, Name=3DMTA')dnl
FEATURE(`accept_unresolvable_domains')dnl
LOCAL_DOMAIN(`localhost.localdomain')dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
|
|
0
|
|
|
|
Reply
|
The
|
11/19/2009 7:19:49 PM
|
|
"The Derfer" <derf109@gmail.com> wrote in message
news:fc1fe917-791c-4f3b-b6a8-7f8c882fc933@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?
|
|
0
|
|
|
|
Reply
|
Greg
|
11/20/2009 5:20:15 AM
|
|
On Nov 20, 12:20=A0am, "Greg Russell" <m...@privacy.net> wrote:
> "The Derfer" <derf...@gmail.com> wrote in message
>
> news:fc1fe917-791c-4f3b-b6a8-7f8c882fc933@f20g2000prn.googlegroups.com...
>
>
>
> >> Nov 13 11:17:07 localhost sendmail[3592]: nADGH2T1003590:
> ...
> >> relay=3Dmailhost.mydomain.com [10.156.80.131], dsn=3D5.3.5, stat=3DLoc=
al
> >> 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.
|
|
0
|
|
|
|
Reply
|
The
|
11/20/2009 5:10:34 PM
|
|
Anyone?
On Nov 20, 12:10=A0pm, The Derfer <derf...@gmail.com> wrote:
> On Nov 20, 12:20=A0am, "Greg Russell" <m...@privacy.net> wrote:
>
>
>
>
>
> > "The Derfer" <derf...@gmail.com> wrote in message
>
> >news:fc1fe917-791c-4f3b-b6a8-7f8c882fc933@f20g2000prn.googlegroups.com..=
..
>
> > >> Nov 13 11:17:07 localhost sendmail[3592]: nADGH2T1003590:
> > ...
> > >> relay=3Dmailhost.mydomain.com [10.156.80.131], dsn=3D5.3.5, stat=3DL=
ocal
> > >> 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. =A0 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. =A0My 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? =A0I never needed to populate that with anything in
> older versions of RHEL AS/3.
> This is RHEL5.- Hide quoted text -
>
> - Show quoted text -
|
|
0
|
|
|
|
Reply
|
The
|
11/23/2009 2:26:59 PM
|
|
Is there any obvious mistake I've got in the config I've given?
On Nov 23, 9:26=A0am, The Derfer <derf...@gmail.com> wrote:
> Anyone?
>
> On Nov 20, 12:10=A0pm, The Derfer <derf...@gmail.com> wrote:
>
>
>
> > On Nov 20, 12:20=A0am, "Greg Russell" <m...@privacy.net> wrote:
>
> > > "The Derfer" <derf...@gmail.com> wrote in message
>
> > >news:fc1fe917-791c-4f3b-b6a8-7f8c882fc933@f20g2000prn.googlegroups.com=
....
>
> > > >> Nov 13 11:17:07 localhost sendmail[3592]: nADGH2T1003590:
> > > ...
> > > >> relay=3Dmailhost.mydomain.com [10.156.80.131], dsn=3D5.3.5, stat=
=3DLocal
> > > >> 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. =A0 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. =A0My 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? =A0I never needed to populate that with anything i=
n
> > older versions of RHEL AS/3.
> > This is RHEL5.- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
|
|
1
|
|
|
|
Reply
|
The
|
11/24/2009 9:24:38 AM
|
|
|
6 Replies
1538 Views
(page loaded in 0.004 seconds)
|