25.02.2013 Views

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

An encoded word can be used in the Your Email section, but not in the address<br />

part between the < <strong>and</strong> the >. RFC 2047 specifies precisely where encoded<br />

words can be used with reference to the syntax of RFC 2822.<br />

15.4 Post Office Protocol (POP)<br />

The Post Office Protocol, version 3, is a st<strong>and</strong>ard protocol with STD number 53.<br />

Its status is elective, <strong>and</strong> it is described in RFC 1939. The older Post Office<br />

Protocol version 2, defined in RFC 0937, is a historic protocol with a status of not<br />

recommended.<br />

The Post Office Protocol is an electronic mail protocol with both client<br />

(sender/receiver) <strong>and</strong> server (storage) functions. POP3 supports basic functions<br />

(download <strong>and</strong> delete) for electronic mail retrieval. More advanced functions are<br />

supported by IMAP4 (see 15.5, “Internet Message Access Protocol (IMAP4)” on<br />

page 591).<br />

15.4.1 Connection states<br />

After a POP3 client establishes a <strong>TCP</strong> connection to the server (using<br />

well-known port 110), the interaction between the client <strong>and</strong> server passes<br />

through three distinct states:<br />

1. First, the POP3 server sends a greeting message to the client. Following this,<br />

the session then enters the authentication state. During this state, the client<br />

must authenticate itself to the server. This can be done using one of three<br />

methods:<br />

– USER/PASS: The combined use of a user ID <strong>and</strong> password (defined in<br />

RFC 1939)<br />

– APOP: Used to specify a name <strong>and</strong> an MD5 digest (also defined in RFC<br />

1939)<br />

– AUTH: Used to specify a mechanism (such as TLS) by which both<br />

authentication <strong>and</strong> data protection can be provided (defined in RFC 1734)<br />

2. If the server successfully authenticates the client, the session enters the<br />

transaction state in which the client can access the mailbox. During this<br />

period, the client can issue the comm<strong>and</strong>s listed in “Transaction state:” on<br />

page 590.<br />

Chapter 15. Mail applications 589

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!