Here is a shorter version for SMTP sessions to your server. There is a lot to SMTP but the main thing most admins want to check for is security or the ability to reach a server via SMTP. Here is a pretty good link to some detailed explanations of SMTP commands. http://www.freesoft.org/CIE/RFC/821/13.htm Below is a sample session and also a relay test. Again open the telnet and connect to Remote System. Type in the IP of your SMTP server and put 25 in the Port box. [Notes in brackets] 220 X1 NT-ESMTP Server demo.netease.net (IMail 5.05 70-1) [verifies that both servers are going to talk to each other] HELO 250 hello demo.netease.net [Who is sending the message] MAIL FROM [EMAIL PROTECTED] 250 ok [Who the message is for] RCPT TO [EMAIL PROTECTED] 250 ok its for <[EMAIL PROTECTED]> [Tell the server you are going to send something] DATA 354 ok, send it; end with <CRLF>.<CRLF> [Sending data] Subject: Test This is just a test message. No SPAM! [ Enter period on line by itself to tell the server that's it] . 250 Message queued [Tell the server you are leaving] QUIT 221 Goodbye [Relay Test] 220 X1 NT-ESMTP Server demo.netease.net (IMail 5.05 96-1) HELO 250 hello sweetwater.netease.net MAIL FROM [EMAIL PROTECTED] 250 ok RCPT TO [EMAIL PROTECTED] 550 not local host myhouse.com, not a gateway RSET 250 ok its reset [Caught the luser and threw his domain in the KILL file] MAIL FROM [EMAIL PROTECTED] 501 unacceptable mail address QUIT 221 Goodbye [Of course he found out we were watching him] Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list.
