[Forgot to reply all, resend] No route to host means your IP cannot reach the remote IP, not port related. Check your IP/gateway/subnet mask settings, and try `nslookup hotmail.com` and `traceroute hotmail.com`
On 2012-7-17 上午1:22, "Engin qwert" <eng...@hotmail.com> wrote: > > > > ________________________________ > From: eng...@hotmail.com > To: postfix-users@postfix.org > Subject: RE: "no route to host" error message > Date: Fri, 13 Jul 2012 14:33:40 +0000 > > Sorry for asking everything but I want to make sure there isn't any > rejection. I run the command you told me. > To my weak understanding ther is no restrictions at all in the iptables isn't > it? > -------------- > root@xn--hadibakalm-5ub:~# iptables -L -n > Chain INPUT (policy ACCEPT) > target prot opt source destination > > Chain FORWARD (policy ACCEPT) > target prot opt source destination > > Chain OUTPUT (policy ACCEPT) > target prot opt source destination > > -------------- > > Date: Fri, 13 Jul 2012 16:25:54 +0200 > > From: h.rei...@thelounge.net > > To: postfix-users@postfix.org > > Subject: Re: "no route to host" error message > > > > > > > > Am 13.07.2012 16:20, schrieb Engin qwert: > > > Hello and sorry for asking again. > > > > > > I telnet'ted the hotmail.com from both port 25 and port 587 when I telnet > > > directly from server or any other > > > location in Istanbul > > > ---------- > > > engin@xn--hadibakalm-5ub:~$ telnet hotmail.com 25 > > > Trying 65.55.72.183... > > > Trying 65.55.72.135... > > > Trying 65.55.72.151... > > > Trying 65.55.72.167... > > > telnet: Unable to connect to remote host: No route to host > > > > contact your ISP after made sure you are not > > blocking something via iptables your own > > > > this is simply a firewall-rejecting > > > > "-j REJECT --reject-with icmp-host-unreachable" will exactly > > trigger this repsones regardless if it is done outgoing > > in your firewall or somewehere in the network > > ___________________ > > > > http://www.linuxtopia.org/Linux_Firewall_iptables/x4550.html > > > > The following reject types are currently valid: > > icmp-net-unreachable > > icmp-host-unreachable > > icmp-port-unreachable > > icmp-proto-unreachable > > icmp-net-prohibited > > icmp-host-prohibited. > > > > The default error message is to send a port-unreachable to the host. > > > > Hi there, I asked to my ISP to open port 25 but they insisted on that they > are not blocking any of my ports. But still the below command outputs "no > route to host" error message. > > #telnet hotmail.com 25 > > On the other hand to make sure I am not blocking any outgoing port > myself, I installed firestarter program and selected the "allow everything > except selected ports" option then blocked nothing. I hope this will allow > any outgoing ports to be opened. > > This is very weird that the mail server send mail when relayed from any > machine except the localhost itself. On debian how can I send mail with php > any suggestion would be apprecriated.