Re: [Exim] No route to host - tried everything!

Top Page
Delete this message
Reply to this message
Author: Dave C.
Date:  
To: Sandro Magi
CC: exim-users, smagi
Subject: Re: [Exim] No route to host - tried everything!

Try making a test SMTP connection by hand, eg:

telnet mc2.law5.hotmail.com 25

If that doesnt work, then exim wont be able to make a connection either.
You'll have to find out why that wont work.


On Sun, 19 Aug 2001, Sandro Magi wrote:

> I recently became aware that my home mail server(Debian 2.2 -
> http://naasking.homeip.net) hasn't been delivering mail. It's been working
> fine for months and just stopped recently. I can still recieve mail, but
> sending never gets through(local mail does get through though, ie. if I send
> an e-mail to myself). I can telnet into the smtp port(from outside), so it's
> not that. When trying to
> send a simple test message to two of my e-mail addresses, I get the
> following entries in /var/log/exim/mainlog:
>
> ------------------------------
>
> 2001-08-19 19:54:38 15YdKw-00046K-00 <= smagi@??? H=(there)
> [192.168.0.32] U=smagi P=smtp S=780
> 2001-08-19 19:55:00 15YdKw-00046K-00 mc2.law5.hotmail.com [64.4.55.135]: No
> route to host
> 2001-08-19 19:55:03 15YdKw-00046K-00 mc5.law13.hotmail.com [64.4.50.7]: No
> route to host
> 2001-08-19 19:55:06 15YdKw-00046K-00 mc6.law5.hotmail.com [64.4.55.7]: No
> route to host
> 2001-08-19 19:55:09 15YdKw-00046K-00 mc1.law13.hotmail.com [64.4.49.7]: No
> route to host
> 2001-08-19 19:55:13 15YdKw-00046K-00 mc6.law13.hotmail.com [64.4.50.71]: No
> route to host
> 2001-08-19 19:55:22 15YdKw-00046K-00 mc7.law5.hotmail.com [64.4.42.7]: No
> route to host
> 2001-08-19 19:55:31 15YdKw-00046K-00 mc4.law13.hotmail.com [64.4.49.199]: No
> route to host
> 2001-08-19 19:56:16 15YdKw-00046K-00 mc5.law5.hotmail.com [64.4.56.199]: No
> route to host
> 2001-08-19 19:56:19 15YdKw-00046K-00 mc3.law13.hotmail.com [64.4.49.135]: No
> route to host
> 2001-08-19 19:56:28 15YdKw-00046K-00 mc1.law5.hotmail.com [64.4.55.71]: No
> route to host
> 2001-08-19 19:56:31 15YdKw-00046K-00 mc2.law13.hotmail.com [64.4.49.71]: No
> route to host
> 2001-08-19 19:56:34 15YdKw-00046K-00 mc4.law5.hotmail.com [64.4.56.135]: No
> route to host
> 2001-08-19 19:56:34 15YdKw-00046K-00 == naasking@??? T=remote_smtp
> defer (113): No route to host
> 2001-08-19 19:56:37 15YdKw-00046K-00 cannon.ecf.utoronto.ca [128.100.8.5]:
> No route to host
> 2001-08-19 19:56:37 15YdKw-00046K-00 == magi@??? T=remote_smtp
> defer (113): No route to host
>
> ------------------------------
>
> So it appears that exim cannot resolve the two host adresses via DNS(though
> it lists their IP addresses). So I checked the mailing lists and the FAQ.
> The archives suggested that port 25 may be blocked and to try telneting into
> it(which I already discounted) and also to ensure I have a default gateway
> configured(I do since the server is masquerading fine as we speak - a
> further check with 'netstat -rn' verified this). The FAQ suggested I try
> executing 'exim -d11 -bt <remote address>' (FAQ no. Q0015). The output for
> magi@??? and naasking@??? are:
>
> ------------------------------
>
> Spud:/var/spool/exim/msglog# exim -d11 -bt magi@???
> Exim version 3.12 debug level 11 uid=0 gid=0
> probably Berkeley DB version 1.8x (native mode)
> spud in local_domains? no (end of list)
> Actual local interface address is 127.0.0.1
> Actual local interface address is 192.168.0.8
> Actual local interface address is 64.229.103.116
> Caller is an admin user
> Caller is a trusted user
> user name "root" extracted from gecos field "root"
> sender address = root@???
> Address testing: uid=0 gid=0 euid=8 egid=8
> >>>>>>>>>>>>>>>>>>>>>>>>
> Testing magi@???
> ecf.utoronto.ca in local_domains? no (end of list)
> address magi@???
> local_part=magi domain=ecf.utoronto.ca
> domain is not local
> >>>>>>>>>>>>>>>>>>>>>>>>
> routing magi@???, domain ecf.utoronto.ca
> lookuphost router called for magi@???
> dns lookup: route_domain = ecf.utoronto.ca
> DNS lookup of ecf.utoronto.ca (MX) succeeded
> Actual local interface address is 127.0.0.1
> Actual local interface address is 192.168.0.8
> Actual local interface address is 64.229.103.116
> fully qualified name = ecf.utoronto.ca
> host_find_bydns yield = HOST_FOUND (2); returned hosts:
> cannon.ecf.utoronto.ca 128.100.8.5 0 10
> queued for remote_smtp transport: local_part=magi domain=ecf.utoronto.ca
> routed by lookuphost router:
> deliver to magi@???
> transport: remote_smtp
> host cannon.ecf.utoronto.ca [128.100.8.5] MX=0
> magi@???
> deliver to magi@???
> router = lookuphost, transport = remote_smtp
> host cannon.ecf.utoronto.ca [128.100.8.5] MX=0
> search_tidyup called
>
>
> Spud:/var/spool/exim/msglog# exim -d11 -bt naasking@???
> Exim version 3.12 debug level 11 uid=0 gid=0
> probably Berkeley DB version 1.8x (native mode)
> spud in local_domains? no (end of list)
> Actual local interface address is 127.0.0.1
> Actual local interface address is 192.168.0.8
> Actual local interface address is 64.229.103.116
> Caller is an admin user
> Caller is a trusted user
> user name "root" extracted from gecos field "root"
> sender address = root@???
> Address testing: uid=0 gid=0 euid=8 egid=8
> >>>>>>>>>>>>>>>>>>>>>>>>
> Testing naasking@???
> hotmail.com in local_domains? no (end of list)
> address naasking@???
> local_part=naasking domain=hotmail.com
> domain is not local
> >>>>>>>>>>>>>>>>>>>>>>>>
> routing naasking@???, domain hotmail.com
> lookuphost router called for naasking@???
> dns lookup: route_domain = hotmail.com
> DNS lookup of hotmail.com (MX) succeeded
> DNS lookup of mc2.law13.hotmail.com (AAAA) gave NO_DATA
> DNS lookup of mc2.law13.hotmail.com (A) succeeded
> DNS lookup of mc4.law5.hotmail.com (AAAA) gave NO_DATA
> DNS lookup of mc4.law5.hotmail.com (A) succeeded
> DNS lookup of mc5.law5.hotmail.com (AAAA) gave NO_DATA
> DNS lookup of mc5.law5.hotmail.com (A) succeeded
> DNS lookup of mc6.law13.hotmail.com (AAAA) gave NO_DATA
> DNS lookup of mc6.law13.hotmail.com (A) succeeded
> Actual local interface address is 127.0.0.1
> Actual local interface address is 192.168.0.8
> Actual local interface address is 64.229.103.116
> fully qualified name = hotmail.com
> host_find_bydns yield = HOST_FOUND (2); returned hosts:
> mc2.law13.hotmail.com 64.4.49.71 10 1005
> mc5.law13.hotmail.com 64.4.50.7 10 1027
> mc7.law5.hotmail.com 64.4.42.7 10 1031
> mc1.law13.hotmail.com 64.4.49.7 10 1034
> mc3.law13.hotmail.com 64.4.49.135 10 1042
> mc4.law13.hotmail.com 64.4.49.199 10 1043
> mc4.law5.hotmail.com 64.4.56.135 10 1045
> mc1.law5.hotmail.com 64.4.55.71 10 1058
> mc6.law5.hotmail.com 64.4.55.7 10 1067
> mc5.law5.hotmail.com 64.4.56.199 10 1022
> mc6.law13.hotmail.com 64.4.50.71 10 1007
> mc2.law5.hotmail.com 64.4.55.135 10 1097
> queued for remote_smtp transport: local_part=naasking domain=hotmail.com
> routed by lookuphost router:
> deliver to naasking@???
> transport: remote_smtp
> host mc2.law13.hotmail.com [64.4.49.71] MX=10
> host mc5.law13.hotmail.com [64.4.50.7] MX=10
> host mc7.law5.hotmail.com [64.4.42.7] MX=10
> host mc1.law13.hotmail.com [64.4.49.7] MX=10
> host mc3.law13.hotmail.com [64.4.49.135] MX=10
> host mc4.law13.hotmail.com [64.4.49.199] MX=10
> host mc4.law5.hotmail.com [64.4.56.135] MX=10
> host mc1.law5.hotmail.com [64.4.55.71] MX=10
> host mc6.law5.hotmail.com [64.4.55.7] MX=10
> host mc5.law5.hotmail.com [64.4.56.199] MX=10
> host mc6.law13.hotmail.com [64.4.50.71] MX=10
> host mc2.law5.hotmail.com [64.4.55.135] MX=10
> naasking@???
> deliver to naasking@???
> router = lookuphost, transport = remote_smtp
> host mc2.law13.hotmail.com [64.4.49.71] ?MX=10
> host mc5.law13.hotmail.com [64.4.50.7] ? MX=10
> host mc7.law5.hotmail.com ?[64.4.42.7] ? MX=10
> host mc1.law13.hotmail.com [64.4.49.7] ? MX=10
> host mc3.law13.hotmail.com [64.4.49.135] MX=10
> host mc4.law13.hotmail.com [64.4.49.199] MX=10
> host mc4.law5.hotmail.com ?[64.4.56.135] MX=10
> host mc1.law5.hotmail.com ?[64.4.55.71] ?MX=10
> host mc6.law5.hotmail.com ?[64.4.55.7] ? MX=10
> host mc5.law5.hotmail.com ?[64.4.56.199] MX=10
> host mc6.law13.hotmail.com [64.4.50.71] ?MX=10
> host mc2.law5.hotmail.com ?[64.4.55.135] MX=10
> search_tidyup called
>
> ----------------------------
>
> By the looks of these outputs, it seems that exim has no trouble looking up
> the addresses. So I'm now at a loss and I'm throwing myself at the mercy of
> the mailing list. :-(
>
> This trouble may have started when I tried sending a large e-mail with many
> attachments(about 15-20, with the e-mail weighing in around 2.0MB). That's
> one of the first e-mails that I noticed didn't get through(but I believe
> some from previous days also didn't get through(I can't check because I've
> been messing around with this and apparently rotated all logs previous to
> today completely out of existence - my bad).
>
> Anybody else have any suggestions or ideas about what's going on? If you've
> read this far, thank you very much for your time. If you need the output for
> something, please ask. Please CC me to this address, since I'm not on the
> list. Thanks alot. :-)
>
> Sincerely,
> Sandro
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>


--