Web Hosting Talk







View Full Version : pop3 session doc


IntraHost
12-10-2000, 01:33 PM
Ok... I need some help. I was given this task for various reasons and I was wondering if anyone could help me solve it!

On the WWW, go to http://ietf.org/rfc.html and view/print a copy of RFC 1939, which describes the Post Office protocol, version 3 (POP3).

Based on the protocol described in this RFC, assemble and document a sample session between a POP3 email server, "kilroy", and a POP3 client, "pluto". The "documentation" must be a series of defined steps that will occur.

Assume the following:
The user enters his password incorrectly the first time and correctly enters it the second time.

The mail server contains between 5 and 15 messages (choose a number).

Three (3) of the messages have arrived since the last time the user checked for new email. The rest were there prior to that time.

No other POP3 client is currently attempting to access this mailbox.

No password encryption or special authentication is used.



Activities performed during this session:
The user's email client application automatically attempts to get a list of old and new messages.

The user deletes the two oldest messages.



Note that there is a sample session in the RFC to give you an idea of how the protocol works and how to represent it in a document.


THANK YOU so much!

IntraHost
12-10-2000, 01:58 PM
S: <wait for connection on TCP port 110>
C: <open connection>
S: +OK POP3 server ready <pluto@kilroy.com>
C: USER user
S: +OK
C: PASS secret
S: ERR login incorrect
C: USER user
S: +OK
C: PASS secret
S: +OK user's maildrop has 6 messages (320 octets)
C: STAT
S: +OK 6 600
C: LIST
S: +OK 6 messages (600 octets)
S: 1 100
S: 2 100
S: 3 100
S: 4 100
S: 5 100
S: 6 100
S: .
C: RETR 1
S: +OK 100 octets
S: <the POP3 server sends message 1>
S: .
C: DELE 1
S: +OK message 1 deleted
C: RETR 2
S: +OK 100 octets
S: <the POP3 server sends message 2>
S: .
C: DELE 2
S: +OK message 2 deleted
C: QUIT
S: +OK dewey POP3 server signing off (maildrop empty)
C: <close connection>
S: <wait for next connection>