Monday, November 10, 2008

Find Out If an E-mail Server Receives Inbound Connections

If you ever set up an e-mail server and tried to send e-mails to it from the Internet, you may have felt frustrated when nothing arrives into your inbox. Follow these instructions to learn just how straightforward it is to find out if you can establish a connection to it. Remember, there are a number of steps that must be accomplished before an e-mail server will send and receive e-mails. Though that is beyond the scope of this article, the steps here will help you establish if a connection to your e-mail server is possible.

Step1
Click "Start." A toolbar or a window will come up.
Step2
Click "Run." A window will come up with a place to type a command or other text.
Step3
Click on the rectangle (or text field, as it is called) and type this command: "cmd." Press "Enter," or click "OK." A black window will (usually) come up. In it it will have a blinking cursor. This window has the title "Command Prompt."
Step4
Click the title bar or anywhere else inside this window, to select it (or "give it focus"). You should be able now to type commands into it.
Step5
In the Command Prompt window, type this command, where (IP address) is replaced by your IP address or DNS name: "start telnet (IP address) 25." Let's study the meaning of each word, or parameter, as they are known. Start allows the command you type next to come up in a separate window. Telnet is a (text) terminal emulation program that uses TCP/IP instead of a serial cable to connect to computers. (IP address) is replaced by your 4-number set, also known as the dotted quad. It is the Internet equivalent of a phone number. It can also be replaced by your DNS name. 25 is like the extension number (or TCP port number, as it is known) used for inbound e-mails. Examples: "start telnet 69.147.102.58 25" or, "start telnet smtp.mail.yahoo.com 25."
Step6
Once you type your Telnet command, press "Enter." A new black window will come up, with the title made up of the word Telnet and whatever you have typed as your IP address. Inside this new window you may see the words Connecting to (whatever you typed).
Step7
If whatever parameter you typed after the command Telnet is actually an e-mail server, you will get some text like this: "220 smtp101.plus.mail.re1.yahoo.com ESMTP." Contents will vary depending on what technology (and customization) your e-mail server had. But "by law" (actually, by protocol, one known as SMTP), it must start with the number 220 and a space.
Step8
OK; so now you know there is some sort of service at your IP address or DNS name, and your proof is right in front of you. What now? To close this window, you simply type this SMTP command: "quit." Whatever you connected to will answer something like, "221 smtp101.plus.mail.re1.yahoo.com." As before, our SMTP protocol dictates that responses MUST start with a number and a space. Afterwards--usually immediately--your e-mail server will close your connection. Your Telnet program may report it as "Connection to host lost" Shortly thereafter, it will close your Telnet window. You should be back to your previous "Command Prompt" window.

No comments: