Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-22-2011, 03:18 PM   #1
Registered: Oct 2009
Posts: 53

Rep: Reputation: 21
Sendmail - No route to host

We have a Red Hat Linux server that sends email out daily. It points to and Exchange server for smtp. It works fine, however, at least once a day, an email will fail and in the maillog I see "No route to host". After a few minutes, everything is working fine. The Linux server and Exchange are on the same VLAN and IP subnet. Anyone have any ideas why this could happen?

Old 02-22-2011, 03:39 PM   #2
LQ Newbie
Registered: Jun 2003
Distribution: CentOS, Ubuntu
Posts: 6

Rep: Reputation: 1
Do you receive a bounce back on the linux server or is the only evidence in your maillog file?
Assuming it is sendmail that is your MTA, it will defer the email for a few minutes and try again. So eventually your email is delivered.

Try a few things,

I'd create a script to ping the exchange server from your linux server and send the output to a log file. Any evidence the physical connection is faulty?

Create a script to resolve the Exchange server's hostname, domain MX record endlessly. If the "No route to host" occurs at the same time every day then have the script run an hour before up until an hours after that designated time. It is possible your linux server can't resolve the Exchange server's hostname or MX record.
1 members found this post helpful.
Old 02-22-2011, 03:59 PM   #3
Registered: Oct 2009
Posts: 53

Original Poster
Rep: Reputation: 21
Thanks for the suggestion. I'll give this a shot and see what happens tonight. I'll keep you posted.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Sendmail No route to host glt Red Hat 7 01-18-2010 06:10 PM
Sendmail Error - No Route To Host mindfrost82 Linux - Software 3 11-17-2009 05:07 AM
Sendmail: no route to host. nightmooneagle Linux - Server 3 11-10-2008 03:19 AM
sendmail error no route to host jez_pag Programming 1 04-17-2007 07:08 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:31 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration