1 / 27

POP3

POP3. POP3. Stands for Post Office Protocol – Version 3 RFC in 1993

nora
Download Presentation

POP3

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. POP3

  2. POP3 • Stands for Post Office Protocol – Version 3 • RFC in 1993 • POP3 “is intended to permit a workstation to dynamically access a maildrop on a server host in a useful fashion. Usually, this means that the POP3 protocol is used to allow a workstation to retrieve mail that the server is holding for it.“

  3. POP3 • Doesn’t provide extensive mail operations on the server • Normally mail is downloaded, then deleted • Deletion doesn’t really occur until QUIT • Uses port 110

  4. Minimal POP3 Commands • USER name – user’s name • PASS string – user’s password • QUIT – quits, and updates the mailbox • STAT – status • LIST [msg] – lists the mail messages (#’s only) • RETR msg – retrieves a mail message • DELE msg – deletes a message • NOOP – No operation • RSET – resets the mail to its original state

  5. Example POP3 Transaction Server

  6. Establish the Socket Primary Thread Primary Thread Socket (101) Client Server

  7. Server is OK +OK POP3 server ready Primary Thread Primary Thread Socket (101) Client Server

  8. Establish the Socket USER bob Primary Thread Primary Thread Socket (101) Client Server

  9. This user is OK +OK Primary Thread Primary Thread Socket (101) Client Server

  10. Send the Password PASS ITSD4304 Primary Thread Primary Thread Socket (101) Client Server

  11. The Password is OK +OK Primary Thread Primary Thread Socket (101) Client Server

  12. Ask how the Server is Feeling… STAT Primary Thread Primary Thread Socket (101) Client Server

  13. I’m Fine, Thanks! +OK 2 320 Primary Thread Primary Thread Socket (101) Client Server

  14. Got Any Mail? LIST Primary Thread Primary Thread Socket (101) Client Server

  15. Yup… +OK 2 messages (320 octets) Primary Thread Primary Thread Socket (101) Client Server

  16. Message One 1 120 Primary Thread Primary Thread Socket (101) Client Server

  17. Message Two 2 200 Primary Thread Primary Thread Socket (101) Client Server

  18. End . Primary Thread Primary Thread Socket (101) Client Server

  19. Get Message One RETR 1 Primary Thread Primary Thread Socket (101) Client Server

  20. Message One Coming! +OK 120 octets Primary Thread Primary Thread Socket (101) Client Server

  21. Message One Coming! <the POP3 server sends message 1> Primary Thread Primary Thread Socket (101) Client Server

  22. End of Message 1 . Primary Thread Primary Thread Socket (101) Client Server

  23. Get Message One DELE 1 Primary Thread Primary Thread Socket (101) Client Server

  24. Message 1 Gone! +OK message 1 deleted Primary Thread Primary Thread Socket (101) Client Server Note: it’s not really gone…

  25. Get Message One QUIT Primary Thread Primary Thread Socket (101) Client Server

  26. QUIT – Commits/Updates +OK bob POP3 server signing off Primary Thread Primary Thread Socket (101) Client Server Note: now it’s gone

  27. Socket Disposed Primary Thread Primary Thread Client Server

More Related