Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2008-10-01
4
Medium Priority
?
853 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 1500 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

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

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

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
As cyber crime continues to grow in both numbers and sophistication, a troubling trend of optimization has emerged over the last year.
Familiarize people with the process of utilizing SQL Server stored procedures 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 Micr…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

718 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