Telnet command to detect POP3

Source: Internet
Author: User

In some settings, we will use some mail settings. You can also use the Telnet command to configure remote logon. Next we will introduce the specific content in detail. As a widely used mail protocol, POP3 is also enabled on the Exchange mail server because it is easy to use and many email programs support this protocol. In many cases, the system administrator needs to open the mail client to check whether the mail sending and receiving are normal, which causes a lot of inconvenience. Next, we will introduce a mail client program. you can log on to the mail server by using the Telnet command to check the usage of the POP3 service, or even directly view the mail. This method applies to Exchange 5.0/5.5/2000.

1. Enter the simulation DOS terminal mode and type Telnet in the command line.

2. First, we use the Telnet command to Set the terminal to display. in Windows 2000, we can type: Set Local_echo on the command line.

If the display mode is not set, the characters entered during communication with the server cannot be seen.

3. Type Open 192.168.0.1 110 in the command line (assume that the IP address of the Exchange Server is 192.168.0.1 ).

Port 110 is the port that POP3 provides services. If the POP3 service is started normally on the server, the system will prompt the following information:

+ OK Microsoft Exchange 2000 POP3 server version 6.0.20.8.0

(Severname.domain.com) ready.

4. log on to a specified email address to check the communication status. On the command line, type the following command:

USER/<USER Account Name>/<USER mailbox name>. For example, if a domain name is domain, the USER name is test, and the mailbox name is test, the user name is the same as the mailbox name ):

USER domain/test.

If it is normal, the system prompts + OK.

5. Next, type the NT password in the command line. The command is as follows:

PASS

If the password is correct, the system prompts: + OK User successfully logged on

6. Type "LIST" in the command line to view the LIST of all emails. The following information is displayed on the terminal:

+ OK

1 232

2 373

3 397

7. The left column is the mail serial number. You can specify the mail serial number to open the corresponding mail.

On the command line, type the following command: RETR <email no.>. The system will return all information about this email. Of course, if the email is Chinese, we will see a string of English codes because there is no Chinese support.

8. If you want to exit POP3, type quit under the command line.

The Telnet command is easy to use and does not require the support of other software. It is a convenient inspection method. Note that the simulation terminal is started. After each character is entered, it is transmitted to the server. Therefore, if the command is wrong, it cannot be deleted. You must retype all the commands.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.