Table of Contents


Concepts

Summery

POP3 (Post Office Protocol 3) downloads emails from the server to your mail client, usually removing them from the server afterward.

Ports

Plain POP3 uses port 110.
POP3S uses the port 995.

Access

You can access it with nc 10.10.10.5 110 or with telnet.
For POP3 over TLS you could run openssl s_client -connect 10.10.10.5:995 -crlf.

Tools

Scripts

Commands

USER - specifies the mailbox username.
PASS - authenticates with the password.
STAT - shows message count and total mailbox size.
LIST - lists messages and their sizes.
RETR - downloads a specific message.
DELE - marks a message for deletion.
CAPA - lists server capabilities.
RSET - resets deletion marks/session state.
QUIT - ends the session and commits deletions.
UIDL - displays unique IDs for messages.
TOP - retrieves message headers and a specified number of body lines.

Typical usage:

USER test
PASS password123
STAT
LIST
RETR 1
QUIT

Resources