Post Office Protocol v3 (POP3)

Profile Pic
POP3
Post Office Protocol

POP3 is a standard protocol used for retrieving email messages from an email server.

Port: 110 TCP  |  RFC:1939

OSI Layer: 7 (Application Layer)

Cyber Security Stance: Low

Designed by Vivekanand Padala

Protocol Overview

POP3 is one of the most widely used email protocols, and is supported by most email clients and email servers.

POP3 has been around since the mid-1980s and is still widely used today, although it has been largely superseded by newer protocols such as IMAP and Exchange ActiveSync.

It uses a limited set of commands, making it relatively simple compared to other email protocols such as IMAP.

Messages are downloaded from the server to the user's email client, and are typically deleted from the server once downloaded.

POP3 does not natively support encryption, but it can be used in conjunction with other protocols such as SSL or TLS to provide secure communication.

POP3 workflow

  1. The email client initiates a connection to the email server on the default POP3 port (110).
  2. The server responds with a greeting message, typically containing the server's name and version number.
  3. The client sends the USER command, which identifies the user by their email address.
  4. The server responds with an OK message if the email address is recognized, or an error message if it is not.
  5. The client sends the PASS command, which provides the user's password for authentication.
  6. The server responds with an OK message if the password is correct, or an error message if it is not.
  7. The client sends the LIST command, which requests a list of all the messages currently stored on the server.
  8. The server responds with a list of message numbers and their sizes.
  9. The client can then choose to download one or more messages by sending the RETR command, followed by the message number.
  10. The server responds with the entire contents of the message.
  11. The client can choose to delete a message from the server by sending the DELE command, followed by the message number.
  12. The server marks the message for deletion, but does not delete it immediately.
  13. Once the client has finished downloading all desired messages, they send the QUIT command to close the connection and inform the server that they are done.
  14. The server deletes any messages that were marked for deletion and closes the connection.

Github icon Twitter icon Coffee icon
© 2024 AndySvints
Design by Tristan Johnson , Filipe Kiss & sora.
Icons made by Freepik from www.flaticon.com.
An error has occurred. This application may no longer respond until reloaded. Reload 🗙