Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
//
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
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
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.
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
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.