Sendmail Issue

Hi, Guru

i had configure in my two server to send out the email.
One of the server able to send in the reasonable timing. but another not, it delay almost one day or two days but mostly not send at all.

below is the syslog when i try to send out the mail.

GOOD Server

Dec 28 11:29:39 mercury sendmail[23665]: [ID 801593 mail.info] nBS3TcVl023663: to
=<leecw@my.domain.com>, ctladdr=<ora10g@mercury.my.domain.com> (4001/101), delay=00:00:01, 
xdelay=00:00:01, mailer=esmtp, pri=120383, relay=mailhost.my.domain.com [10.13.15.*], 
dsn=2.0.0, stat=Sent ( <200912280329.nBS3TcHx023662@mercury.my.domain.com> 
Queued mail for delivery)

PROBLEM Server

Dec 28 11:04:19 procyon sendmail[7884]: [ID 801593 mail.info] nBS101e3003675: to
=<leecw@my.domain.com>, delay=02:04:18, xdelay=00:07:30, mailer=esmtp, pri=841750
, relay=my.domain.com [10.60.50.*], dsn=4.0.0, stat=Deferred: Connection reset by my.domain.com

***
10.13.15.* is our company server
10.60.50.* is our branch server

Please advise.:slight_smile:

---------- Post updated at 02:51 PM ---------- Previous update was at 11:38 AM ----------

Hi All

I had solve the problem already..

i compare the two sendmail.cf
i found that the sendmail.cf file is same with each others
i restart both the sendmail service.
but the problem still assist.

Then i decide to manually add the relay in the DS, by default, the relay value is null.
after change it, it works in the "Problem Server"

but how come by default the server cannot recognize the correct relay?

cn you traceroute to the sending side and also provide the sendmail log ouyput?

the sendmail log, is it refer to syslog?

Yes it is.

Hi
below is the syslog after i add the mailhost in in DS

Dec 30 09:52:47 procyon sendmail[20776]: [ID 801593 mail.info] nBU1qloI020776: from=Automated Reporting System, size=1433, class=0, nrcpts=1, msgid=<200912300152.nBU1qloI020776@procyon.my.domain.com>, relay=root@localhost
Dec 30 09:52:47 procyon sendmail[20783]: [ID 801593 mail.info] nBU1qluC020783: from=<Automated.Reporting.System@procyon.my.domain.com>, size=1750, class=0, nrcpts=1, msgid=<200912300152.nBU1qloI020776@procyon.my.domain.com>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Dec 30 09:52:47 procyon sendmail[20776]: [ID 801593 mail.info] nBU1qloI020776: to=leecw@my.domain.com, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31433, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (nBU1qluC020783 Message accepted for delivery)
Dec 30 09:52:47 procyon sendmail[20785]: [ID 801593 mail.info] nBU1qluC020783: to=<leecw@my.domain.com>, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=121750, relay=mailhost [10.13.15.207], dsn=2.0.0, stat=Sent ( <200912300152.nBU1qloI020776@procyon.my.domain.com> Queued mail for delivery)

HI, All

i face the problem again in other Server when sending out the mail
below is the error from syslog

Jan  5 10:05:44 saturn sendmail[10576]: [ID 801593 mail.info] o0525i0c010576: from=root, size=72, class=0, nrcpts=1, msgid=<201001050205.o0525i0c010576@saturn.my.domain.com>, relay=root@localhost
Jan  5 10:05:44 saturn sendmail[10577]: [ID 801593 mail.info] o0525iPB010577: from=<root@saturn.my.domain.com>, size=377, class=0, nrcpts=1, msgid=<201001050205.o0525i0c010576@saturn.my.domain.com>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Jan  5 10:05:44 saturn sendmail[10576]: [ID 801593 mail.info] o0525i0c010576: to=leecw@my.domain.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30072, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (o0525iPB010577 Message accepted for delivery)
Jan  5 10:05:44 saturn sendmail[10579]: [ID 801593 mail.info] o0525iPB010577: to=<leecw@my.domain.com>, ctladdr=<root@saturn.my.domain.com> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=120377, relay=mailhost [10.13.15.207], dsn=4.0.0, stat=Deferred: Connection reset by mailhost

** i had add the this IP to the exchange server already.