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 07-19-2007, 09:08 AM   #1
Registered: Jul 2007
Posts: 72

Rep: Reputation: 16
cannot email external domains


I have setup sendmail on my server and when I try to send an email to any external domain it gives an error no route to host.

It can send emails to the local domain though without any problems.

I have checked the resolv.conf file and all seems to be fine there and when i say dig for example dig I am getting a positive response.

The gateway is also set correctly.

Is there anything that could be wrong in the config files like ? Or can we assume that all's fine with it since local emails are being sent ?

Any suggestions is appreciated.

This is RHEl 4

Last edited by uks; 07-20-2007 at 07:07 AM.
Old 07-24-2007, 09:18 AM   #2
Registered: Apr 2007
Location: Barcelona, Spain
Distribution: Debian, KUbuntu
Posts: 213

Rep: Reputation: 36
Have you seen if you are on a black list? If it's true, your mails are going to Spam folders or directly not accepted on servers.

If this isn't true, you can post some logs, like /var/log/mail.*
Old 07-30-2007, 03:26 AM   #3
Registered: Jul 2007
Posts: 72

Original Poster
Rep: Reputation: 16
Thanks for the reply Emi

I checked the maillog and the error is :

(Deferred: No route to host)
Old 08-21-2007, 10:27 AM   #4
Registered: Jul 2007
Posts: 72

Original Poster
Rep: Reputation: 16
The issue was resolved after we added a default gateway.

thanks again Emi.


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
Cant get email from certain domains CEup Linux - Networking 1 10-12-2006 02:33 PM
Two domains/servers on only one external IP jorg1 Linux - Networking 1 10-11-2005 05:31 PM
multiple domains - and email hrc Linux - Software 4 08-04-2003 11:15 AM
virtual email accounts on different domains js_530 Linux - Networking 0 07-26-2003 03:51 PM
Relay email for specific domains to an external address on a non-standard port BaDaBooM Linux - Networking 2 03-18-2003 10:40 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:40 PM.

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