|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Telnet MX query
Hi there,
I am trying to query hotmail's MX servers as I am having problems sending mail to hotmail addresses and they want me to run some tests on my server to try and determine the problem but all the telnet commands I know of to do this arent working on this version! Can someone tell me the commands to do this via telnet shell within SSH? When Im logged in via ssh, I type "telnet" which obviously loads telnet but the normal commands I know of arent working, such as telnet mx1.example.com smtp... I also tried... telnet;open;mx1.hotmail.com:25 and I got the error : Name or service not known mx1.hotmail.com:25: Unknown host Now is this the right command to query the mail servers from my server and this just means it cant find it? Or am I entering in the wrong code for an MX query? Thanks for your help! Bujo |
|
#2
|
||||
|
||||
|
Start a telnet session with the server using this commandline:
Code:
[14:08:24] root@users /root# telnet mx1.hotmail.com 25 220 mc1-f20.hotmail.com Microsoft ESMTP MAIL Service, Version: 5.0.2195.6824 ready at Thu, 18 Mar 2004 06:25:10 -0800 Once connected as shown above - ie wait until you see the 220... welcome banner line - the most basic conversation you need to enter is: Code:
HELO example.com MAIL FROM: <someuser@example.com> RCPT TO: <someuser@hotmail.com> DATA Hi, This is a test email . The single period/dot mark signifies the end of the DATA section of the conversation, at which point you should be informed of the status of the transfer - whether it succeeded and was queued or whether it failed and was rejected. This is all covered in RFC2821 - it's actually not that hard to read if you spare the time. :P
__________________
FreeBSD Admin Tips Tricks and Scripts |
|
#3
|
|||
|
|||
|
thanks very much for your help munk!
|
![]() |
| Viewing: Dev Shed Forums > System Administration > Mail Server Help > Telnet MX query |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|