CS 519 Spring 2003 – Homework 3
Download:
[poptrace.cap] [imaptrace.cap]
[httptrace.cap]
SMTP is the protocol for sending mail. For receiving mail, there are several popular mail access protocols namely POP3, IMAP and even HTTP. In this exercise you will explore the operation and analyze the traces of three popular mail access protocols namely Post Office Protocol 3 (POP3), Interactive Mail Access Protocol (IMAP) and HTTP.
SMTP
SMTP is used to (1) transfer email from the sender’s mail server to the recipient’s mail server and (2) transfer email from the sender’s user agent (e.g. Outlook Express) to the sender’s mail server.
POP3
POP3 is a simple protocol used for fetching email from a remote mailbox, defined in RFC 1225. It has commands for the user to log in, log out, fetch and delete messages. The point of POP3 is to fetch email from the remote inbox and store it on the user’s local machine to be read later.
IMAP
IMAP is a sophisticated delivery protocol, defined in RFC 1064. It was designed to help the user who uses multiple computers, perhaps a workstation in office, PC at home and a laptop on the road. The basic idea behind IMAP is for the email server to maintain a central repository that can be accessed from any machine. Thus, unlike POP3, IMAP does not copy email to the user’s personal machine because the user may have several. In other words, the mailbox can be viewed as a relational database system rather than a linear sequence of messages.
HTTP
The majority of Internet users are sending and accessing their emails through web-based emails like Hotmail and Yahoo. With the web-based email (HTTP) the end user uses the web browser to communicate with his remote inbox. When ‘X’ wants to access a message in his inbox, the email message is sent from X’s mail server to X’s web browser using the HTTP protocol rather than using POP3/IMAP. Similarly when ‘Y’ wants to send a message to someone, the email message is sent from Y’s browser to Y’s mail server over HTTP rather than SMTP. However, X’s mail server and Y’s mail server send and receive messages to each other using SMTP.
The traces were taken on a host behind a NAT firewall. For the POP and IMAP traces, a user-agent (Outlook Express) was used to send and read messages and the HTTP trace was done using a web-browser as a user-agent accessing the remote inbox at a free email service on the Internet.
Please refer to the capture file poptrace.cap to
answer the following questions
Please refer to the capture file imaptrace.cap to
answer the following questions
Please refer to the capture file httptrace.cap to
answer the following questions
RFC1064 – Interactive Mail Access
Protocol
RFC1225 – Post Office Protocol
Version 3
How to configure your user agent to
talk to a POP3/IMAP [accessible only inside the CS domain]
[Disclaimer: These traces were captured and solely intended only for educational purposes and had the complete consent of the individuals concerned]