Network Working Group M. Rose
Request for Comments: 1225 Performance Systems International
Obsoletes: RFC 1081 May 1991
Post Office Protocol - Version 3
Rose [Page 1]
RFC 1225 POP3 May 1991
For the remainder of this memo, the term "client host" refers to a host making use of the POP3 service, while the term "server host" refers to a host which offers the POP3 service.
Rose [Page 2]
RFC 1225 POP3 May 1991
A POP3 session progresses through a number of states during its lifetime. Once the TCP connection has been opened and the POP3 server has sent the greeting, the session enters the AUTHORIZATION state. In this state, the client must identify itself to the POP3 server. Once the client has successfully done this, the server acquires resources associated with the client's maildrop, and the session enters the TRANSACTION state. In this state, the client requests actions on the part of the POP3 server. When the client has finished its transactions, the session enters the UPDATE state. In this state, the POP3 server releases any resources acquired during the TRANSACTION state and says goodbye. The TCP connection is then closed.
Rose [Page 3]
RFC 1225 POP3 May 1991
NOTE: Minimal implementations of the POP3 need only be able to break a maildrop into its component messages; they need NOT be able to parse individual messages. More advanced implementations may wish to have this capability, for reasons discussed later.
Rose [Page 4]
RFC 1225 POP3 May 1991
state after a successful USER command
Rose [Page 5]
RFC 1225 POP3 May 1991
NOTE: This memo STRONGLY discourages implementations from supplying additional information in the drop listing. Other, optional, facilities are discussed later on which permit the client to parse the messages in the maildrop.
Rose [Page 6]
RFC 1225 POP3 May 1991
NOTE: This memo STRONGLY discourages implementations from supplying additional information in the scan listing. Other, optional, facilities are discussed later on which permit the client to parse the messages in the maildrop.
Rose [Page 7]
RFC 1225 POP3 May 1991
Possible Responses:
Rose [Page 8]
RFC 1225 POP3 May 1991
+OK
Rose [Page 9]
RFC 1225 POP3 May 1991
If any messages have been marked as deleted by the POP3 server, they are unmarked. The POP3 server then replies with a positive response. In addition, the "highest number accessed" is also reset to the value determined at the beginning of the POP3 session.
Rose [Page 10]
RFC 1225 POP3 May 1991
The optional POP3 commands described below permit a POP3 client greater freedom in message handling, while preserving a simple POP3 server implementation.
Rose [Page 11]
RFC 1225 POP3 May 1991
Discussion:
Rose [Page 12]
RFC 1225 POP3 May 1991
QUIT valid in the UPDATE state
Rose [Page 13]
RFC 1225 POP3 May 1991
Message Format
Rose [Page 14]
RFC 1225 POP3 May 1991
After successfully verifying the identity of the client, a modified SMTP server is started, and the PC posts mail with the server host. After the QUIT command is given to the SMTP server and it terminates, a modified POP3 server is started, and the PC retrieves mail from the server host. After the QUIT command is given to the POP3 server and it terminates, the login shell for the pseudo-user terminates the terminal protocol and logs the job out. The PC then closes the terminal connection to the server host.
Rose [Page 15]
RFC 1225 POP3 May 1991
References