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
Solved

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

Posted on 2008-10-01
4
824 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

Suggested Solutions

Title # Comments Views Activity
SMTP Service 9 58
Spam Filter 5 65
Exchange 2016 DAG Witness Server 3 44
Phishing emails coming from Staff-A email account to another external email account 10 26
Microsoft has released various new features which are capable of handling various tasks. One of these tasks is ‘Migration from pop3 to Exchange Server’. Pop3 data stores various data along mailboxes like contacts, tasks, etc. So, it becomes the need…
Import PST to Exchange using Power Shell new-mailboximportrequest command, you can simply import the PST file into Exchange mailbox or archived. To know How to import PST into Exchange  2013 read the complete article.
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…

789 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