I did as below:
Back ground of the problem:
My goal is to replace a sendmail (8.9.3) server running on SunOS 4.1.4
(Sun Sparc 10)
with sendmail (8.9.3) on Debian Linux 2.2.12.
Have configured the most network components to run sendmail 8.9.3.
Can receieve mail without any problems, and can exchange mails locally.
However, outgoing mails were queued because of an error, Deferred: No
route to host.
Found its MX record, by sendmail -bt >/mx yahoo.com, as
mx2.mail.yahoo.com.
nslookup mx2.mail.yahoo.com returned 128.11.68.142 and more.
telnet 128.11.68.142 then got an error, Unable to connect to remote
host:No route to host.
If I use telnet mx2.mail.yahoo.com, it will translate 128.11.68.142 and
gives the same error.
So I tested another mailserver within fujitsu network but outside of my
subnet,
which is fujitu1.fujitsu.com at 133.164.254.1
telnet 133.164.254.1 gave me log-in prompt
telnet 133.164.254.1 25 started SMTP session.
I can telnet and log in without proble. Just can make SMTP work!!
netstat -rn gave the foolowing:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
133.164.150.0 0.0.0.0 255.255.255.0 U 0 0 0
eth0
0.0.0.0 133.164.150.254 0.0.0.0 UG 1 0 0
eth0
(BTW, I have even added localhost itself to the above routting table
without success.)
traceroute mx2.mail.yahoo.com returned the following hops:
1 gateway1 (133.164.150.254) 2.028 ms 1.836 ms 1.684 ms
2 133.164.211.254 (133.164.211.254) 5.253 ms 3.526 ms 3.515 ms
3 GWI-FSC-7513.fujitsu.com (133.164.253.253) 3.856 ms 4.003 ms
4.046 ms
4 GWI-VerioGate.fujitsu.com (133.164.253.251) 4.099 ms
GWI-DigexGate.fujitsu.com (133.164.253.250) 4.115 ms
GWI-VerioGate.fujitsu.com (133.164.253.251) 4.14 ms
5 209.116.50.9 (209.116.50.9) 5.62 ms
hs-4-1-0.a01.snjsca01.us.ra.verio.net (204.247.122.142) 5.004 ms
209.116.50.9 (209.116.50.9) 5.149 ms
6 p1-5-2.a05.snjsca01.us.ra.verio.net (129.250.122.98) 4.503 ms
sjc4-core2-fa0-0-0.atlas.digex.net (165.117.244.2) 5.975 ms 5.704 ms
7 p4-1-2-0.a06.mtvwca01.us.ra.verio.net (129.250.122.106) 4.984 ms
sjc4-core6-pos1-1.atlas.digex.net (165.117.59.69) 5.542 ms
p4-1-2-0.a06.mtvwca01.us.ra.verio.net (129.250.122.106) 5.128 ms
8 sjc3-core4.pos4-2.atlas.digex.net (165.117.60.1) 6.395 ms
p4-3-0.a05.mtvwca01.us.ra.verio.net (129.250.122.65) 4.831 ms
sjc3-core4.pos4-2.atlas.digex.net (165.117.60.1) 6.727 ms
9 sjc3-bbn.atlas.digex.net (165.117.56.98) 7.344 ms
p4-0-0.a03.plalca01.us.ra.verio.net (129.250.122.69) 5.873 ms
sjc3-bbn.atlas.digex.net (165.117.56.98) 6.617 ms
10 g5-2-0.pao6.verio.net (129.250.15.1) 5.568 ms
p2-0-0.sucolo-core1.bbnplanet.net (4.0.1.38) 7.411 ms
g5-2-0.pao6.verio.net (129.250.15.1) 5.541 ms
11 fa11-1-0.sucolo-border1.bbnplanet.net (128.11.48.21) 7.531 ms
p3-1.paix-bi1.bbnplanet.net (4.0.6.6) 5.571 ms
fa11-1-0.sucolo-border1.bbnplanet.net (128.11.48.21) 7.997 ms
12 128.11.48.90 (128.11.48.90) 9.108 ms
p7-0.paloalto-nbr2.bbnplanet.net (4.0.6.101) 5.726 ms 5.795 ms
13 mta127.mail.yahoo.com (128.11.68.142) 8.088 ms
p2-0-0.sucolo-core2.bbnplanet.net (4.0.1.66) 6.797 ms
mta127.mail.yahoo.com (128.11.68.142) 9.85 ms
I don't have any firewall. The default gateway may be a router,
133.164.150.254
Since the Sun mailserver is working, config on the new Linux server must
be wrong somewhere.
The system name and o/s version number in
Debian Linux 2.2.12 with sendmail 8.9.3.
Thank you very mcuh.
> > Hi ALL:
> > I am getting a network error, Deferred: No route to host. from
sendmail.
> > Ping, nslookup and everything work fine.
> > So I tested as in the following example:
> > telnet mx2.mail.yahoo.com 25
> > telnet: unable to connect to remote host: No route to host
> > nslookup mx2.mail.yahoo.com returns valid IP addresses, of course.
> Hi,
> Have you tried "traceroute mx2.mail.yahoo.com"?
> What does it say?
> Cheers,
> --
> Maciej Mastalarczuk
Sent via Deja.com http://www.deja.com/
Before you buy.