LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 11-09-2008, 04:17 AM   #1
nightmooneagle
LQ Newbie
 
Registered: Jul 2008
Posts: 8

Rep: Reputation: 0
Sendmail: no route to host.


I have read all the posts here, and so far I still have the same problem. I have flushed the iptables, can telnet/ssh to the mail server and dns server.

Sending mail locally (intranet) works fine, sending mail to my isp account works fine, sending mail beyond that (say to hotmail.com) does not work, and I can't get mail inbound from anywhere (isp account included).

ADSL router has 3 TZO.com domains (dynamic) which it serves (for argument's sake: dom1, dom2, dom3) and has my dns server listed as the DMZ host (all traffic inbound sent there).

OS: Fedora9.

named config:

//
// named.caching-nameserver.conf
//
// Provided by Red Hat caching-nameserver package to configure the
// ISC BIND named(8) DNS server as a caching only nameserver
// (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
// DO NOT EDIT THIS FILE - use system-config-bind or an editor
// to create named.conf - edits to this file will be lost on
// caching-nameserver package upgrade.
//

options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { 127.0.0.1; 192.168.1.0/24; };
recursion yes;
};

logging {
channel default_debug {
file "//var/named/data/named.run";
severity info;
print-category yes;
print-severity yes;
print-time yes;
};
};

zone "." IN {
type hint;
file "named.ca";
};

include "/etc/named.rfc1912.zones";

zone "dom1" {
type master;
file "/var/named/dom1.hosts";
};
zone "dom2" {
type master;
file "/var/named/dom2.hosts";
};
zone "dom3" {
type master;
file "/var/named/dom3.hosts";
};

--------------------
Sendmail config on request

Error message:
Nov 9 21:16:08 dns sendmail[19230]: mA99KZ9l018216: makeconnection (mx2.hotmail.com. [65.54.244.40]) failed: No route to host
 
Old 11-10-2008, 01:23 AM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
It sounds like your ISP is blocking port 25/tcp both inbound and outbound on their network, except to/from their own mail server. You could send outbound mail to other domains by setting up sendmail to authenticate to your ISP's mailserver and use it as a smarthost, but that's not going to help inbound mail reach you.
 
Old 11-10-2008, 01:58 AM   #3
nightmooneagle
LQ Newbie
 
Registered: Jul 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by chort View Post
It sounds like your ISP is blocking port 25/tcp both inbound and outbound on their network, except to/from their own mail server. You could send outbound mail to other domains by setting up sendmail to authenticate to your ISP's mailserver and use it as a smarthost, but that's not going to help inbound mail reach you.
With the work laptop I RD'd to our work server and ran ping/telnet from there.

The responses I got were:
telnet dns.nmeinc.net -> could not connect to the host on port 23. Connect failed

telnet dns.nmeinc.net 25 -> could not connect to the host on port 25. Connect failed

telnet mail.nmeinc.net 25 -> could not connect to the host on port 25. Connect failed

ping on both machines works fine. mail.nmeinc.net = dns.nmeinc.net

perhaps the telnet port is also being blocked?

NmE
 
Old 11-10-2008, 02:19 AM   #4
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
Well hopefully you aren't actually running telnetd on your servers... I sure hope not. It wouldn't have anything to do with e-mail, though.

Port 23/tcp is the default for the actual telnet service. Port 25/tcp is SMTP. People use telnet to connect to port 25/tcp to manually issue commands, to confirm that e-mail service is available. Doing telnet to port 25/tcp has nothing to do with telnet service, and telnet to 23/tcp has nothing to do with e-mail. The telnet command is just a handy interactive TCP client that can be used to connect to any TCP service (which SMTP happens to be).

PS
Code:
telnet mail.nmeinc.net 25 -> could not connect to the host on port 25. Connect failed
confirms that your ISP blocks port 25/tcp inbound. You could try asking them to unblock it for your IP, but I wouldn't get your hopes up.

Last edited by chort; 11-10-2008 at 02:20 AM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail Error - No Route To Host mindfrost82 Linux - Software 3 11-17-2009 04:07 AM
sendmail error no route to host jez_pag Programming 1 04-17-2007 06:08 AM
telnet works but 'telnet host 25' gives 'no route to host' karlmdv Linux - Networking 2 07-25-2006 06:28 AM
No route to host senzoga Linux - Networking 1 07-14-2004 06:03 PM


All times are GMT -5. The time now is 07:17 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