next up previous contents
Next: A full session example Up: Email Previous: Example   Contents

Post Office Protocol POP3

Initially, the server host starts the POP3 service by listening on TCP port 110. When a client host wishes to make use of the service, it establishes a TCP connection with the server host. When the connection is established, the POP3 server sends a greeting. The client and POP3 server then exchange commands and responses (respectively) until the connection is closed or aborted.

First you start out in the AUTHORIZATION state. In this state you can enter one of 3 commands:

Once your userid and password are recognized the server will access your mailbox and you enter the TRANSACTION state. In this state you can enter one of these commands:

You can also enter the QUIT command which will move you to the UPDATE state. In the UPDATE state the server will remove messages that were deleted. Note that if the connection crashes the server will not enter the update state and, thus, will not delete the messages.

  C: QUIT
  S: +OK dewey POP3 server signing off (maildrop empty)
     ...
  C: QUIT
  S: +OK dewey POP3 server signing off (2 messages left)
     ...

There are some optional POP3 commands:



Subsections
next up previous contents
Next: A full session example Up: Email Previous: Example   Contents
root 2004-03-16