From: ska on
The Derfer wrote:

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

It makes readers wary, if both logs correspond with each other.

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

Is the server name of the greeting message the same on both servers?
When you telnet smarthost smtp and telnet dbserver smtp.

-ska
From: The Derfer on
On Nov 30, 3:29 am, ska <s...(a)mail.inf.fh-brs.de> wrote:
> The Derfer wrote:
> > 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):
>
> It makes readers wary, if both logs correspond with each other.
>
> > 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...(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
>
> Is the server name of the greeting message the same on both servers?
> When you telnet smarthost smtp and telnet dbserver smtp.
>

telnet dbserver smtp from the dbserver itself gives me access to
sendmail port there.
telnet smarthost smtp from the dbserver does nothing; there's no host
defined as "smarthost"
anyplace.



From: The Derfer on
Further sweetening the pot, the relay has in its log (after I turned
logging up to level 15), the following.
Which still begs the question WHY the dbserver is not issuing the
"MAIL" command to initiate transfer??!!

It just does a "QUIT" (none of my other servers do this!). What's
wrong?
Thanks in advance for helping.

Dec 1 02:36:44 mailhost sendmail[21027]: NOQUEUE: connect from
dbserver [10.156.90.13]
Dec 1 02:36:44 mailhost sendmail[21027]: AUTH: available mech=PLAIN
LOGIN ANONYMOUS, allowed mech=EXTERNAL GSSAPI KERBEROS_V4 DIGEST-MD5
CRAM-MD5
Dec 1 02:36:44 mailhost sendmail[21027]: nB17ai5G021027: Milter: no
active filter
Dec 1 02:36:44 mailhost sendmail[21027]: nB17ai5G021027: --- 220
localhost.localdomain ESMTP Sendmail 8.13.8/8.13.0; Tue, 1 Dec 2009
02:36:44 -0500
Dec 1 02:36:44 mailhost sendmail[21027]: nB17ai5G021027: <-- EHLO
localhost.localdomain
Dec 1 02:36:44 mailhost sendmail[21027]: nB17ai5G021027: --- 250-
localhost.localdomain Hello dbserver [10.156.90.13], pleased to meet
you
Dec 1 02:36:44 mailhost sendmail[21027]: nB17ai5G021027: --- 250-
ENHANCEDSTATUSCODES
Dec 1 02:36:44 mailhost sendmail[21027]: nB17ai5G021027: --- 250-
PIPELINING
Dec 1 02:36:44 mailhost sendmail[21027]: nB17ai5G021027: ---
250-8BITMIME
Dec 1 02:36:44 mailhost sendmail[21027]: nB17ai5G021027: --- 250-SIZE
Dec 1 02:36:44 mailhost sendmail[21027]: nB17ai5G021027: --- 250-DSN
Dec 1 02:36:44 mailhost sendmail[21027]: nB17ai5G021027: --- 250-ETRN
Dec 1 02:36:44 mailhost sendmail[21027]: nB17ai5G021027: --- 250-
DELIVERBY
Dec 1 02:36:44 mailhost sendmail[21027]: nB17ai5G021027: --- 250 HELP
Dec 1 02:36:44 mailhost sendmail[21027]: nB17ai5G021027: <-- QUIT
Dec 1 02:36:44 mailhost sendmail[21027]: nB17ai5G021027: --- 221
2.0.0 localhost.localdomain closing connection
Dec 1 02:36:44 mailhost sendmail[21027]: nB17ai5G021027: dbserver
[10.156.90.13] did not issue MAIL/EXPN/VRFY/ETRN during connection to
MTA

MEANWHILE:... on the internal dbserver ('localhost' as it's referred
to here, and don't worry that the times are
a little out of sync):

Dec 1 02:38:18 localhost sendmail[24169]: nB17cImU024169: from=root,
size=47, class=0, nrcpts=1,
msgid=<200912010738.nB17cImU024169(a)localhost.localdomain>,
relay=root(a)localhost
Dec 1 02:38:18 localhost sendmail[24170]: NOQUEUE: connect from
localhost.localdomain [127.0.0.1]
Dec 1 02:38:18 localhost sendmail[24170]: AUTH: available mech=PLAIN
LOGIN ANONYMOUS, allowed mech=EXTERNAL GSSAPI KERBEROS_V4 DIGEST-MD5
CRAM-MD5
Dec 1 02:38:18 localhost sendmail[24170]: nB17cIit024170: Milter: no
active filter
Dec 1 02:38:18 localhost sendmail[24170]: nB17cIit024170: --- 220
localhost.localdomain ESMTP Sendmail 8.13.8/8.13.8; Tue, 1 Dec 2009
02:38:18 -0500
Dec 1 02:38:18 localhost sendmail[24170]: nB17cIit024170: <-- EHLO
localhost.localdomain
Dec 1 02:38:18 localhost sendmail[24170]: nB17cIit024170: --- 250-
localhost.localdomain Hello localhost.localdomain [127.0.0.1], pleased
to meet you
Dec 1 02:38:18 localhost sendmail[24170]: nB17cIit024170: --- 250-
ENHANCEDSTATUSCODES
Dec 1 02:38:18 localhost sendmail[24170]: nB17cIit024170: --- 250-
PIPELINING
Dec 1 02:38:18 localhost sendmail[24170]: nB17cIit024170: ---
250-8BITMIME
Dec 1 02:38:18 localhost sendmail[24170]: nB17cIit024170: --- 250-
SIZE
Dec 1 02:38:18 localhost sendmail[24170]: nB17cIit024170: --- 250-DSN
Dec 1 02:38:18 localhost sendmail[24170]: nB17cIit024170: --- 250-
ETRN
Dec 1 02:38:18 localhost sendmail[24170]: nB17cIit024170: --- 250-
DELIVERBY
Dec 1 02:38:18 localhost sendmail[24170]: nB17cIit024170: --- 250
HELP
Dec 1 02:38:18 localhost sendmail[24170]: nB17cIit024170: <-- MAIL
From:<root(a)localhost.localdomain> SIZE=47
Dec 1 02:38:18 localhost sendmail[24170]: nB17cIit024170: --- 250
2.1.0 <root(a)localhost.localdomain>... Sender ok
Dec 1 02:38:18 localhost sendmail[24170]: nB17cIit024170: <-- RCPT
To:<derf109(a)gmail.com>
Dec 1 02:38:18 localhost sendmail[24170]: nB17cIit024170: --- 250
2.1.5 <derf109(a)gmail.com>... Recipient ok
Dec 1 02:38:18 localhost sendmail[24170]: nB17cIit024170: <-- DATA
Dec 1 02:38:18 localhost sendmail[24170]: nB17cIit024170: --- 354
Enter mail, end with "." on a line by itself
Dec 1 02:38:18 localhost sendmail[24170]: nB17cIit024170:
from=<root(a)localhost.localdomain>, size=346, class=0, nrcpts=1,
msgid=<200912010738.nB17cImU024169(a)localhost.localdomain>,
proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Dec 1 02:38:18 localhost sendmail[24170]: nB17cIit024170: --- 250
2.0.0 nB17cIit024170 Message accepted for delivery
Dec 1 02:38:18 localhost sendmail[24169]: nB17cImU024169:
to=derf109(a)gmail.com, ctladdr=root (0/0), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=30047, relay=[127.0.0.1]
[127.0.0.1], dsn=2.0.0, stat=Sent (nB17cIit024170 Message accepted for
delivery)
Dec 1 02:38:18 localhost sendmail[24172]: nB17cIit024170: SMTP
outgoing connect on dbserver
Dec 1 02:38:18 localhost sendmail[24170]: nB17cIiu024170: <-- QUIT
Dec 1 02:38:18 localhost sendmail[24170]: nB17cIiu024170: --- 221
2.0.0 localhost.localdomain closing connection
Dec 1 02:38:23 localhost sendmail[24172]: nB17cIit024170: SYSERR
(root): mailhost config error: mail loops back to me (MX problem?)
Dec 1 02:38:23 localhost sendmail[24172]: nB17cIit024170:
to=<derf109(a)gmail.com>, ctladdr=<root(a)localhost.localdomain> (0/0),
delay=00:00:05, xdelay=00:00:05, mailer=relay, pri=120346,
relay=mailhost [10.156.80.131], dsn=5.3.5, stat=Local configuration
error
Dec 1 02:38:23 localhost sendmail[24172]: nB17cIit024170: alias
postmaster => root
Dec 1 02:38:23 localhost sendmail[24172]: nB17cIit024170:
nB17cNit024172: DSN: Local configuration error
Dec 1 02:38:23 localhost sendmail[24172]: nB17cNit024172:
to=<root(a)localhost.localdomain>, delay=00:00:00, xdelay=00:00:00,
mailer=local, pri=31601, dsn=2.0.0, stat=Sent
Dec 1 02:38:23 localhost sendmail[24172]: nB17cNit024172: done;
delay=00:00:00, ntries=1
Dec 1 02:38:23 localhost sendmail[24172]: nB17cIit024170: done;
delay=00:00:05, ntries=1


Any ideas?
From: ska on
The Derfer wrote:
> On Nov 30, 3:29 am, ska <s...(a)mail.inf.fh-brs.de> wrote:
> > The Derfer wrote:
> > > 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):
> >
> > It makes readers wary, if both logs correspond with each other.
> >
> > > 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...(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
> >
> > Is the server name of the greeting message the same on both servers?
> > When you telnet smarthost smtp and telnet dbserver smtp.
> >
>
> telnet dbserver smtp from the dbserver itself gives me access to
> sendmail port there.
> telnet smarthost smtp from the dbserver does nothing; there's no host
> defined as "smarthost"
> anyplace.

You have a smarthost configured:
define(`SMART_HOST',`mailhost.domain.com')

So, now:
> > Is the server name of the greeting message the same on both servers?
From: The Derfer on
On Dec 3, 3:20 am, ska <s...(a)mail.inf.fh-brs.de> wrote:
> The Derfer wrote:
> > On Nov 30, 3:29 am, ska <s...(a)mail.inf.fh-brs.de> wrote:
> > > The Derfer wrote:
> > > > 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):
>
> > > It makes readers wary, if both logs correspond with each other.
>
> > > > 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...(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
>
> > > Is the server name of the greeting message the same on both servers?
> > > When you telnet smarthost smtp and telnet dbserver smtp.
>
> > telnet dbserver smtp from the dbserver itself gives me access to
> > sendmail port there.
> > telnet smarthost smtp from the dbserver does nothing; there's no host
> > defined as "smarthost"
> > anyplace.
>
> You have a smarthost configured:
> define(`SMART_HOST',`mailhost.domain.com')
>
> So, now:
>
>
>
> > > Is the server name of the greeting message the same on both servers?- Hide quoted text -
>
> - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

No, it isn't.
You can see why I'm so confused.
If I telnet dbserver 25 it will say "Connected to dbserver" and then
"220 localhost.localdomain ESMTP Sendmail 8.13.8/8.13.8"

If (from the dbserver) I telnet mailhost 25 I get:
"Connected to mailhost."
and then:
"220 localhost.localdomain ESMTP Sendmail 8.13.8/8.13.0"

Thanks for helping.
I appreciate it.