ArticlesArticles Most Popular ArticlesMost Popular Articles
RSS Feeds
DrillDown Icon Table of Contents
DrillDown Icon 2018 Official Holidays & Support Schedule
DrillDown Icon IMPORTANT: End of Life of SHA1 on Windows Server 2003
DrillDown Icon IMPORTANT: Supported Operating Systems
DrillDown Icon PLEASE READ: Our Update Server IPs Have Changed
DrillDown Icon Support
DrillDown Icon modusGate for Microsoft Azure
DrillDown Icon modusCloud
DrillDown Icon Alleviating Spam – Best Practices
DrillDown Icon directQuarantine Technical Information
DrillDown Icon modusMail & modusGate Technical Information
DrillDown Icon Documentation & Release Information
DrillDown Icon Known Issues (non-release related)
DrillDown Icon Configuration Information
DrillDown Icon modusGate & modusMail
DrillDown Icon modusGate Only
DrillDown Icon modusMail Only
DrillDown Icon How-to: Respool Mailbox Contents
DrillDown Icon How-to: Export Contacts from Outlook and Outlook Express to WebMail
DrillDown Icon Info: SSL Encryption is Disabled by Service Pack 2 or Windows Firewall
DrillDown Icon How-To: MODUSCAN Does Not Start, Service Terminated with Service-specific Error 2 (0x2)
DrillDown Icon How-To: Switch from the Standard User Database to the Extended Database
DrillDown Icon Info: Mailing Lists Moderation Feature for a Cluster or Blockade Setup
DrillDown Icon Work-around: Unusual Behavior Encountered When Using an External Email Address in the Forward Mail To field
DrillDown Icon Info for Customers Using the Extended Database Format
DrillDown Icon Info: Platypus Integration Information
DrillDown Icon Info: Rodopi Interface Information
DrillDown Icon Info: Using Telnet to Test a POP3 Connection
DrillDown Icon Info: Using Telnet to Test an IMAP4 Connection
DrillDown Icon How-To: Change the POP3 Timeout Value
DrillDown Icon How-To: Configure an IMAP Quarantine Folder for Email Clients
DrillDown Icon How-To: Configure Database Mailing Lists
DrillDown Icon How-To: Customize the Quota Warning Messages
DrillDown Icon How-To: Manage a Mailing List by Email
DrillDown Icon How-To: Send a Broadcast Email to Your Users
DrillDown Icon How-To: Switch Mailboxes from Database to Generic (Registry)
DrillDown Icon How-To: Switch Mailboxes from Registry to Database
DrillDown Icon How-To: Switch Mailboxes from WorldGroup to Registry
DrillDown Icon How-To: Use Mailbox Command Line Functions
DrillDown Icon How-To: Use the Maildomain Command Line Functions
DrillDown Icon How-To: Write a Mail Agent
DrillDown Icon Problem: Cannot Create New Mailboxes or Access Existing Accounts
DrillDown Icon SQL Server Information
DrillDown Icon MySQL Information
DrillDown Icon Security
DrillDown Icon Sieve
DrillDown Icon Spam and False-Positives
DrillDown Icon Statistics and Monitoring Section
DrillDown Icon Web Components
DrillDown Icon Troubleshooting
DrillDown Icon Hardware & OS System Requirements
DrillDown Icon Tools
DrillDown Icon Other Product Technical Information
DrillDown Icon Professional Services
DrillDown Icon Newsletters
  Email This ArticlePrint PreviewPrint Current Article/Category and All Sub-Articles/Categories
 
Info: Using Telnet to Test a POP3 Connection

 

Product: ModusMail

Version & Build: All

 

Telnet commands can be used to test POP3 connections to the mail server to test if you can successfully open a POP3 session on the server and if you can properly authenticate a valid email address.

Below isthe standard syntax used for the telnet commands:

 

Example:  The POP3 connection for yourdomain.com is configured on IP 10.0.0.9, port 110.
 
On the ModusMail server, open a DOS command window (e.g., Start > Run > cmd):

1.Use the telnet command to open a connection to the mail server, e.g. type: telnet 10.0.0.9 110 <Enter>'

Note: if using Windows 2000, you may want to use the following set of commands to turn the local echo function on and display what you're typing. Local echo is enabled on Windows 2003 and XP by default.

    • From the DOS prompt, type telnet <Enter>
    • Type set local_echo <Enter>
    • Type open 10.0.0.9 110 <Enter>

2. Important note - telnet does not allow backspaces so, if you make a mistake when entering the commands, start over.

3. When the telnet screen opens, you should see the mail server's banner, similar to: 
OK MailServer POP3 Server 4.2.420.0 Ready
10381880.1122284320.656@yourdomain.com
(If you don't get a banner, check the IP address and firewall configuration and start the test again)

4. Type user followed by a valid username, e.g. user mailboxname <Enter>

5. The mail server should reply: OK ...

6. Type pass followed by the mailbox password, e.g. pass mailboxpassword <Enter>

7. If the mail server reply is OK, you have successfully logged into the Email server using the POP3 protocol 

8. If the mail server reply is invalid mailbox or password, you may have the wrong password (or mistyped it) or the domain is set up as a virtual domain, meaning it does not have a unique IP address.  In this case you must enter the full email address as the username.  Without closing the telnet screen, do the following:

  • Type user with the full email address, e.g. user mailboxname@yourdomain.com <Enter>
  • Type pass followed by the mailbox password, e.g. pass mailboxpassword <Enter>
  • If the mail server reply is OK, you have successfully logged in

9. If the server replies that you have multiple messages in the mailbox, you can enter the list command to display the sizes of the individual messages.

10. To see the content of a specific message,type retr (retrieve) and the message number, e.g. to see message # 3, type retr 3 <Enter>.  The content of the message, including header information, is displayed in text format.

11. To delete a message, type dele with the message number, e.g. dele 2 <Enter>

12. End the telnet session by typing quit <Enter> to end the POP3 communication

Here are the same transactions on screen:
 
>Telnet 10.0.0.9 110
+OK ModusMail POP3 Server 4.2.420.0 Ready <10381880.1122284320.656@yourdomain.com>
>user mailboxname
+OK mailboxname is welcome here
>pass
mailboxpassword
+OK mailboxname's mailbox has 3 message(s) (4544 octets)
list
+OK 3 messages (4544 octets)
1 343
2 2123
3 2078
.
dele 2
+OK message 2 deleted
>quit
+OK yourdomain.com POP3 server signing off (2 messages left)
 
 
Modified 12/20/2006
Keywords: telnet pop3
Article ID: 1416