LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-22-2011, 02:18 PM   #1
scottyp55
Member
 
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?

Thanks,
Scott
 
Old 02-22-2011, 02:39 PM   #2
benq70
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, 02:59 PM   #3
scottyp55
Member
 
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.
 
  


Reply


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 05:10 PM
Sendmail Error - No Route To Host mindfrost82 Linux - Software 3 11-17-2009 04:07 AM
Sendmail: no route to host. nightmooneagle Linux - Server 3 11-10-2008 02:19 AM
sendmail error no route to host jez_pag Programming 1 04-17-2007 06:08 AM


All times are GMT -5. The time now is 04:45 AM.

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