Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

help please: MX problem ["did not issue MAIL/EXPN/VRFY/ETRN ... MTA" ??]

3,181 views
Skip to first unread message

The Derfer

unread,
Nov 30, 2009, 12:07:53 AM11/30/09
to
Probably a local config problem, but I need your help with it:

The relay I'm sending to endlessly 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.nADGH2YG003...@localhost.localdomain>,
relay=root@localhost
Nov 13 11:17:02 localhost sendmail[3590]: nADGH2T1003590:
from=<r...@localhost.localdomain>, size=356, class=0, nrcpts=1,
msgid=<200911131617.nADGH2YG003...@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=<r...@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=<r...@localhost.localdomain>, delay=00:00:00, xdelay=00:00:00,
mailer=local, pri=31608, dsn=2.0.0, stat=Sent

Here's some other helpful information:

[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

AND: /etc/mail/local-host-names is empty on both the mail relay
(mailhost) and the
dbserver.

I really need a hand with this. Suggestions?
Thanks in advance.

ska

unread,
Nov 30, 2009, 3:29:23 AM11/30/09
to
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...@gmail.com>, ctladdr=<r...@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

The Derfer

unread,
Nov 30, 2009, 12:38:41 PM11/30/09
to

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.

The Derfer

unread,
Dec 1, 2009, 2:57:13 AM12/1/09
to
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....@localhost.localdomain>,
relay=root@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:<ro...@localhost.localdomain> SIZE=47
Dec 1 02:38:18 localhost sendmail[24170]: nB17cIit024170: --- 250
2.1.0 <ro...@localhost.localdomain>... Sender ok
Dec 1 02:38:18 localhost sendmail[24170]: nB17cIit024170: <-- RCPT
To:<der...@gmail.com>
Dec 1 02:38:18 localhost sendmail[24170]: nB17cIit024170: --- 250
2.1.5 <der...@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=<ro...@localhost.localdomain>, size=346, class=0, nrcpts=1,
msgid=<200912010738....@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=der...@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=<der...@gmail.com>, ctladdr=<ro...@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=<ro...@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?

ska

unread,
Dec 3, 2009, 3:20:47 AM12/3/09
to

You have a smarthost configured:


define(`SMART_HOST',`mailhost.domain.com')

So, now:

The Derfer

unread,
Dec 8, 2009, 12:28:50 AM12/8/09
to
> > > 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.

Carl Byington

unread,
Dec 8, 2009, 12:34:36 AM12/8/09
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 07 Dec 2009 21:28:50 -0800, The Derfer wrote:

>> > > 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"

Yes, the server name of the greeting message is the same on both servers.

Both dbserver and mailhost claim to be 'localhost.localdomain' in the 220
greeting message. Change one (or both) of those.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFLHeVdL6j7milTFsERAnrlAKCHGBsj94/mKelHIpyxwZhkCsTRQQCeKaXN
NOZxGe3H7WWKAlPXJgdTwH4=
=fBUL
-----END PGP SIGNATURE-----

The Derfer

unread,
Dec 8, 2009, 3:28:24 PM12/8/09
to
On Dec 8, 12:34 am, Carl Byington <c...@five-ten-sg.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Mon, 07 Dec 2009 21:28:50 -0800, The Derfer wrote:
> >> > > 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"
>
> Yes, the server name of the greeting message is the same on both servers.
>
> Both dbserver and mailhost claim to be 'localhost.localdomain' in the 220
> greeting message. Change one (or both) of those.

Where?
Is /etc/hosts the only place?
Is there a sendmail config file that can alter this for sendmail
purposes
only?

Thanks for the advice.
Grateful.

Carl Byington

unread,
Dec 8, 2009, 3:53:22 PM12/8/09
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 08 Dec 2009 12:28:24 -0800, The Derfer wrote:

> Where?
> Is /etc/hosts the only place?
> Is there a sendmail config file that can alter this for sendmail
> purposes
> only?

Any of:

0. Setup proper reverse dns resolution for the primary ip address of the
box. Sendmail by default will probe the interfaces and use rdns to get
the
name.

1. Add the FQDN to /etc/hosts.

2. Add define(`confDOMAIN_NAME', `FQDN')dnl to the Sendmail macro config
(.mc) file. Build and install the Sendmail configuration file (.cf).

3. Manually change the Dj line in sendmail.cf to configure $j.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFLHryzL6j7milTFsERAmonAJwIkC+Wnm1FcXvgJJKAi+b/B/EPzQCeIYd6
Qnvdq4Rx/HWIjbhJIjpC1eU=
=S+s0
-----END PGP SIGNATURE-----

The Derfer

unread,
Dec 8, 2009, 4:07:23 PM12/8/09
to
FQDN is in there on a line in /etc/hosts of the dbserver. It's on a
line next to it's
actual IP address.
Should it also be on a line with 127.0.0.1 (which has the
localhost.localdomain name) in that
file as well?

ska

unread,
Dec 9, 2009, 3:30:37 AM12/9/09
to
The Derfer wrote:
> FQDN is in there on a line in /etc/hosts of the dbserver. It's on a
> line next to it's
> actual IP address.
> Should it also be on a line with 127.0.0.1 (which has the
> localhost.localdomain name) in that
> file as well?

Looks like sendmail considers the loopback interface as your primary
interfaces. I would follow Carl's advice #2.

-ska

The Derfer

unread,
Dec 10, 2009, 4:17:48 AM12/10/09
to


I put (exactly) this:

define(`confdomainname.com', `dbserver.domainname.com')dnl

at the very end of sendmail.mc on dbserver

then "m4 sendmail.mc > sendmail.cf" (also on dbserver)

then restarted the daemon on dbserver.

And the exact same problem remains. All error messages are the same.
("domainname" above is anonymized but it's the company name).

Did I do something wrong?
Mail relay server still says: ".... did not issue MAIL/EXPN/VRFY/ETRN
during connection to MTA"

Carl Byington

unread,
Dec 10, 2009, 12:12:17 PM12/10/09
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 10 Dec 2009 01:17:48 -0800, The Derfer wrote:

> I put (exactly) this:

> at the very end of sendmail.mc on dbserver

should be confDOMAIN_NAME

define(`confDOMAIN_NAME', `dbserver.domainname.com')dnl

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFLISvjL6j7milTFsERAvjGAJ98cJDJhlusmCV3zwAP26+CeJKmWQCfUwZ+
wDwMzStvoTE0jKZHN+ZsFgc=
=9s5/
-----END PGP SIGNATURE-----

The Derfer

unread,
Dec 11, 2009, 4:14:54 PM12/11/09
to
On Dec 10, 12:12 pm, Carl Byington <c...@five-ten-sg.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thu, 10 Dec 2009 01:17:48 -0800, The Derfer wrote:
> > I put (exactly) this:
> > define(`confdomainname.com', `dbserver.domainname.com')dnl
> > at the very end of sendmail.mc on dbserver
>
> should be confDOMAIN_NAME
>
> define(`confDOMAIN_NAME', `dbserver.domainname.com')dnl


OK thank you: that helped considerably.
Now some e-mails go out. To gmail, for example, they always go out
perfectly directly
from a "Mail us...@gmail.com" command line from dbserver.

Other times it's less predictable. See here:

Dec 11 13:57:13 mail-relay sendmail[16318]: nBBIvADZ016299:
to=<us...@comcast.net>, delay=00:00:03, xdelay=00:00:03, mailer=esmtp,
pri=120543, relay=mx2b.comcast.net. [76.96.30.116], dsn=5.0.0,
stat=Service unavailable
Dec 11 13:58:43 mail-relay sendmail[16496]: nBBIwh7A016496:
to=us...@comcast.net, ctladdr=user (1007/1007), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=30045, relay=[127.0.0.1]
[127.0.0.1], dsn=2.0.0, stat=Sent (nBBIwhcv01649 Message accepted for
delivery)


The first line is an e-mail "Mail us...@comcast.net" from the dbserver
command line
The second one is mailed the same way except from the mail relay host
itself.


Also curious is a different error, that of "User unknown":

Dec 11 15:27:08 mail-relay sendmail[27330]: nBBKR5nv027319:
to=<us...@oracle.com>, delay=00:00:02, xdelay=00:00:02, mailer=esmtp,
pri=120552, relay=rcsinet11.oracle.com. [148.87.113.123], dsn=5.1.8,
stat=User unknown

Pertaining to the above, it originated as "Mail us...@oracle.com" from
dbserver's command line as user "oracle".
Directly from the mail relay server's command line it reaches its
destination.

Does anyone know how to fix this?

Thanks again for all the help. I'm way ahead of where I was last
week thanks to everyone's
input.


The Derfer

unread,
Dec 14, 2009, 4:13:17 PM12/14/09
to
On Dec 11, 4:14 pm, The Derfer <derf...@gmail.com> wrote:
> On Dec 10, 12:12 pm, Carl Byington <c...@five-ten-sg.com> wrote:
>
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
>
> > On Thu, 10 Dec 2009 01:17:48 -0800, The Derfer wrote:
> > > I put (exactly) this:
> > > define(`confdomainname.com', `dbserver.domainname.com')dnl
> > > at the very end of sendmail.mc on dbserver
>
> > should be confDOMAIN_NAME
>
> > define(`confDOMAIN_NAME', `dbserver.domainname.com')dnl
>
> OK thank you: that helped considerably.
> Now some e-mails go out.   To gmail, for example, they always go out
> perfectly directly
> from a "Mail u...@gmail.com" command line from dbserver.

>
> Other times it's less predictable.  See here:
>
> Dec 11 13:57:13 mail-relay sendmail[16318]: nBBIvADZ016299:
> to=<u...@comcast.net>, delay=00:00:03, xdelay=00:00:03, mailer=esmtp,

> pri=120543, relay=mx2b.comcast.net. [76.96.30.116], dsn=5.0.0,
> stat=Service unavailable
> Dec 11 13:58:43 mail-relay sendmail[16496]: nBBIwh7A016496:
> to=u...@comcast.net, ctladdr=user (1007/1007), delay=00:00:00,

> xdelay=00:00:00, mailer=relay, pri=30045, relay=[127.0.0.1]
> [127.0.0.1], dsn=2.0.0, stat=Sent (nBBIwhcv01649 Message accepted for
> delivery)
>
> The first line is an e-mail "Mail u...@comcast.net" from the dbserver

> command line
> The second one is mailed the same way except from the mail relay host
> itself.
>
> Also curious is a different error, that of "User unknown":
>
> Dec 11 15:27:08 mail-relay sendmail[27330]: nBBKR5nv027319:
> to=<u...@oracle.com>, delay=00:00:02, xdelay=00:00:02, mailer=esmtp,

> pri=120552, relay=rcsinet11.oracle.com. [148.87.113.123], dsn=5.1.8,
> stat=User unknown
>
> Pertaining to the above, it originated as "Mail u...@oracle.com" from

> dbserver's command line as user "oracle".
> Directly from the mail relay server's command line it reaches its
> destination.
>
> Does anyone know how to fix this?
>
> Thanks again for all the help.   I'm way ahead of where I was last
> week thanks to everyone's
> input.

Someone please!
If I can get this much to work it'll work ... period!
Thank you ! ! !

ska

unread,
Dec 15, 2009, 4:55:31 AM12/15/09
to
The Derfer wrote:

> Dec 11 13:57:13 mail-relay sendmail[16318]: nBBIvADZ016299:
> to=<us...@comcast.net>, delay=00:00:03, xdelay=00:00:03, mailer=esmtp,
> pri=120543, relay=mx2b.comcast.net. [76.96.30.116], dsn=5.0.0,
> stat=Service unavailable

This is a reply from mx2b.comcast.net. See RFC 1893 what 5.0.0 means.

> Dec 11 13:58:43 mail-relay sendmail[16496]: nBBIwh7A016496:
> to=us...@comcast.net, ctladdr=user (1007/1007), delay=00:00:00,
> xdelay=00:00:00, mailer=relay, pri=30045, relay=[127.0.0.1]
> [127.0.0.1], dsn=2.0.0, stat=Sent (nBBIwhcv01649 Message accepted for
> delivery)

This is a reply from your own server @ mail-relay telling you it has
accepted the message for future delivery. I would bet you'll find the
same error as before later in the logs.

> Also curious is a different error, that of "User unknown":
>
> Dec 11 15:27:08 mail-relay sendmail[27330]: nBBKR5nv027319:
> to=<us...@oracle.com>, delay=00:00:02, xdelay=00:00:02, mailer=esmtp,
> pri=120552, relay=rcsinet11.oracle.com. [148.87.113.123], dsn=5.1.8,
> stat=User unknown

What is curious? rcsinet11.oracle.com. said: RFC1893 permanent failure
"Bad sender's system address". It is its right as to tell you, that
the recipient does not exist.

> Does anyone know how to fix this?

Use a proper mail address.

-ska

The Derfer

unread,
Dec 20, 2009, 9:51:48 PM12/20/09
to
> > Dec 11 15:27:08 mail-relay sendmail[27330]: nBBKR5nv027319:
> > to=<u...@oracle.com>, delay=00:00:02, xdelay=00:00:02, mailer=esmtp,

> > pri=120552, relay=rcsinet11.oracle.com. [148.87.113.123], dsn=5.1.8,
> > stat=User unknown
>
> What is curious? rcsinet11.oracle.com. said: RFC1893 permanent failure
> "Bad sender's system address". It is its right as to tell you, that
> the recipient does not exist.
>
> > Does anyone know how to fix this?
>
> Use a proper mail address.


But why would that error happen the mail is sent from the dbserver and
not
if sent from the mail relay box itself?
I get two different results.

Richard Site X

unread,
Sep 29, 2021, 11:38:17 AM9/29/21
to
0 new messages