Hi ,
You should should find the mail handler of the domain
"hotmail.com". You may get the answer from your DNS server as following:
; <<>> DiG 9.6.-ESV-R3 <<>> @8.8.8.8 hotmail.com mx
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36775
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;hotmail.com. IN MX
;; ANSWER SECTION:
hotmail.com. 2655 IN MX 5 mx4.hotmail.com.
hotmail.com. 2655 IN MX 5 mx1.hotmail.com.
hotmail.com. 2655 IN MX 5 mx2.hotmail.com.
hotmail.com. 2655 IN MX 5 mx3.hotmail.com.
;; Query time: 15 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Wed Jul 18 01:14:45 2012
;; MSG SIZE rcvd: 109
After doing this, you could choose one of them and try to telnet the
smtp port at the host you picked. For example, if you try to telnet
the smtp port at mx1.hotmail.com, you may get the greeting message as
following:
Trying 65.55.92.184...
Connected to mx1.hotmail.com.
Escape character is '^]'.
220 SNT0-MC4-F13.Snt0.hotmail.com Sending unsolicited commercial or
bulk e-mail to Microsoft's computer network is prohibited. Other
restrictions are found at
http://privacy.microsoft.com/en-us/anti-spam.mspx. Tue, 17 Jul 2012
10:15:05 -0700
quit
221 SNT0-MC4-F13.Snt0.hotmail.com Service closing transmission channel
Connection closed by foreign host.
Please do not try to telnet "hotmail.com", it may not set to forward
your request to the mail handler. Thanks!
引述 Alvin Wong <alvinhoc...@gmail.com>:
[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.
--
Best Regards,LittleCho
This message has been scanned for viruses and dangerous content and is
believed to be clean.