Mail Server Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationMail Server Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 17th, 2004, 06:28 PM
Bujo Bujo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 61 Bujo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
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

Reply With Quote
  #2  
Old March 18th, 2004, 08:29 AM
munkfish's Avatar
munkfish munkfish is offline
funky munky
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2001
Location: UK
Posts: 1,446 munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 18 h 33 m
Reputation Power: 10
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

Reply With Quote
  #3  
Old March 18th, 2004, 09:36 AM
Bujo Bujo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 61 Bujo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
thanks very much for your help munk!

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationMail Server Help > Telnet MX query


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT