Solved

Sendmail - messages seem to be getting state : Deferred: Connection refused by "host name"

Posted on 2008-10-01
4
815 Views
Last Modified: 2013-12-17
Running  : Redhat Enterprise Linux 4ES using Sendmail to send out emails. Every time send an email out it seems to get rejected by the destiantion i.e mx4.hotmail.com  so then tried to send to itself  i.e myaccount@dev.domain.com  to myaccount@dev.domain.com. This sits in the mail queue with a status of  "Deferred: Connection refused by dev.domain.com"  whcih says to me that it is the configuration of sendmail.
I have 2 servers running same version of RedHat and sendmail is configured the same, the other one seems to work happily enough in that, email get sent out .
 
OUTPUT FROM MAILLOGS's Below :-
07:08 INTA-DEV-MAIL-02 sendmail[18628]: m91C78jO018628: from=<intalocadmuser@dev.domain.com>, size=522, class=0, nrcpts=1, msgid=<1222862828.18625@dev.domain.com>, proto=ESMTP, daemon=MTA, relay=mail-02.dev.domain.com [127.0.0.1]
Oct  1 13:07:08 INTA-DEV-MAIL-02 sendmail[18627]: m91C78nj018627: to=intalocadmuser@dev.domain.com, ctladdr=intalocadmuser@dev.domain.com (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30394, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m91C78jO018628 Message accepted for delivery)
Oct  1 13:09:14 INTA-DEV-MAIL-02 sendmail[18630]: m91C78jO018628: to=<intalocadmuser@dev.domain.com>, delay=00:02:06, xdelay=00:02:06, mailer=esmtp, pri=120522, relay=dev.domain.com. [192.168.30.1], dsn=4.0.0, stat=Deferred: Connection refused by dev.domain.com.
0
Comment
Question by:ccfcfc
  • 2
  • 2
4 Comments
 
LVL 26

Expert Comment

by:jar3817
ID: 22620223
What's your /etc/mail/sendmail.mc file look like on the machine that isn't working? Also, now does it compare to the box that is working?
0
 

Author Comment

by:ccfcfc
ID: 22622104
The  /etc/mail/sendmail.mc  are both exactly the same except this  Feature FEATURE('smarttable')dnl  is NOT in the file on the machine that is NOT working. SO I guess what exactly is this, can I manually just enter it into the file ?
COuld this be the difference ?
0
 

Author Comment

by:ccfcfc
ID: 22622199
See messages from Mail Queue : strange message  "No route to host" and " connection refused by.." this is itself refusign itself .

intalocadmuser@dev.intamac.com intalocadmuser@dev.intamac.com 1.15 kB Deferred: dev.intamac.com.: No route to host
  qfm91H3w2o019193 Wed, 1 Oct 2008 18:03:58  Mail Delivery Subsystem <MAILER-DAEMON> <intalocadmuser@dev.intamac.com> 2.83 kB Deferred: Connection refused by dev.intamac.com.
0
 
LVL 26

Accepted Solution

by:
jar3817 earned 500 total points
ID: 22623712
what about the networking setup between the two machines? Are they in the same subnet, with the same nameservers?

Check the IPs:
/sbin/ip addr

Check the routing table:
/sbin/ip route list

Check the nameservers:
cat /etc/resolv.conf
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
The new Gmail Phishing Scam going around is surprising even the savviest of users with its sophisticated techniques.
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question