Is the remote mail server running?

  1. Home
  2. Knowledge Base
  3. GMS
  4. Is the remote mail server running?

Question

How can I make sure that the mail server is running correctly?

Answer

Once a list of reachable host addresses has been obtained using the MAIL -m command, it is possible to verify that the SMTP server on each of the hosts is up and running. This is achieved by using the Telnet utility to log onto the remote server. By using a specific port ID (in the case of SMTP – port 25) it is possible to examine the state of the mail server. Using an NT Command Prompt enter the command:

TELNET

Alternatively, from Program Manager or the Start button select Run and enter Telnet at the prompt. Once the Telnet window is displayed, select Connect and then Remote System. In the connect dialogue type the name of the host to be checked (i.e. any of the host names returned by MAIL -m). In the Port field, enter the value 25. Finally select the Connect button. If the mail server is up and running a welcome message starting with the string “220” will be displayed. Otherwise a message will be displayed stating the host has not been reached successfully.

See Also:

Keywords:mail server running test remote telnet

Was this article helpful?

Related Articles