[lug] SMTP delivery: No route to host

rm at fabula.de rm at fabula.de
Sat Nov 23 14:55:41 MST 2002


On Sat, Nov 23, 2002 at 02:09:59PM -0700, Justin-lists wrote:
> Basic problem is, I cannot send out mail via smtp from any of my machines
> behind my linux firewall box. I am using Evolution to send mail through my
> smtp server and I get a "No route to host" error everytime I try. I also get
> this when trying to telnet to my smtp port:
> [glow at sirius mail]$ telnet jackmoves.com 25
> Trying 206.247.117.72...
> telnet: connect to address 206.247.117.72: No route to host
> 
> I tried setting my mail client to use local sendmail to send mail and got the
> same error:
> Nov 23 13:27:50 sirius sendmail[4375]: gANKRnTK004373:
> to=<justin at jackmoves.com>, delay=00:00:01, xdelay=00:00:01, mailer=esmtp,
> pri=30499, relay=jackmoves.com. [206.247.117.72], dsn=4.0.0, stat=Deferred:
> jackmoves.com.: No route to host
> 
> My firewall (Shorewall btw) is set to allow anything out from inside the
> network or from the firewall. I turned on the firewall logging and the packets
> seem to get sent out through the fw:
> Nov 23 14:03:35 naz kernel: Shorewall:loc2net:ACCEPT:IN=eth1 OUT=ppp0
> SRC=192.168.1.6 DST=206.247.117.72 LEN=60 TOS=0x00 PREC=0x00 TTL=63 ID=62310
> DF PROTO=TCP SPT=33418 DPT=25 WINDOW=5840 RES=0x00 SYN URGP=0
> 
> I've tried telnet'ing to any of my other server ports on the box (80, 110, 22,
> 21) and they all connect perfectly fine. 

That indeed sounds strange. Can you do a tcpdump to capture the traffic?
I bet you there's some incomming icmp packet that informs your server
about that fact. Try to figure out which router did send this package.
Is anything inbetween blocking SMTP?

hth ralfd



More information about the LUG mailing list