LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-19-2007, 10:08 AM   #1
uks
Member
 
Registered: Jul 2007
Posts: 68

Rep: Reputation: 16
cannot email external domains


hi,

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 yahoo.com I am getting a positive response.

The gateway is also set correctly.

Is there anything that could be wrong in the config files like sendmail.mc ? 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 08:07 AM.
 
Old 07-24-2007, 10:18 AM   #2
emi_ramo
Member
 
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, 04:26 AM   #3
uks
Member
 
Registered: Jul 2007
Posts: 68

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

I checked the maillog and the error is :

(Deferred: mail1.xxxxx.com.: No route to host)
 
Old 08-21-2007, 11:27 AM   #4
uks
Member
 
Registered: Jul 2007
Posts: 68

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

thanks again Emi.
 
  


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


All times are GMT -5. The time now is 05:46 PM.

Main Menu
Advertisement
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