Row triangle Shape Decorative svg added to bottom

Knowledge Base

Post Office Protocol

In computing, the Post Office Protocol (POP) is an application-layer Internet standard protocol used by e-mail clients to retrieve e-mail from a mail server. POP version 3 (POP3) is the version in common use.

Purpose

The Post Office Protocol provides access via anĀ Internet ProtocolĀ (IP) network for a user client application to a mailbox (maildrop) maintained on a mail server. The protocol supports download and delete operations for messages. POP3 clients connect, retrieve all messages, store them on the client computer, and finally delete them from the server.Ā This design of POP and its procedures was driven by the need of users having only temporary Internet connections, such asĀ dial-up access, allowing these users to retrieve e-mail when connected, and subsequently to view and manipulate the retrieved messages when offline.

POP3 clients also have an option to leave mail on the server after download. By contrast, theĀ Internet Message Access ProtocolĀ (IMAP) was designed to normally leave all messages on the server to permit management with multiple client applications, and to support both connected (online) and disconnected (offline) modes of operation.

A POP3 server listens onĀ well-known port numberĀ 110 for service requests.Ā Encrypted communicationĀ for POP3 is either requested after protocol initiation, using theĀ STLSĀ command, if supported, or by POP3S, which connects to the server usingĀ Transport Layer SecurityĀ (TLS) orĀ Secure Sockets LayerĀ (SSL) on well-knownĀ TCPĀ portĀ number 995.

Messages available to the client are determined when a POP3 session opens the maildrop, and are identified by message-number local to thatĀ sessionĀ or, optionally, by a unique identifier assigned to the message by the POP server. This unique identifier is permanent and unique to the maildrop and allows a client to access the same message in different POP sessions. Mail is retrieved and marked for deletion by the message-number. When the client exits the session, mail marked for deletion is removed from the maildrop.

History

The first version of the Post Office Protocol, POP1, was specified in RFC 918 (1984). POP2 was specified in RFC 937 (1985).

POP3 is the version in most common use. It originated with RFC 1081 (1988) but the most recent specification is RFC 1939, updated with an extension mechanism (RFC 2449) and an authentication mechanism in RFC 1734. This led to a number of POP implementations such as Pine,Ā POPmail, and other early mail clients.

While the original POP3 specification supported only an unencrypted USER/PASSĀ loginĀ mechanism or BerkeleyĀ .rhostsĀ access control, today POP3 supports severalĀ authenticationĀ methods to provide varying levels of protection against illegitimate access to a user's e-mail. Most are provided by the POP3 extension mechanisms. POP3 clients supportĀ SASLĀ authentication methods via the AUTH extension.Ā MITĀ Project AthenaĀ also produced aĀ KerberizedĀ version. RFC 1460 introduced APOP into the core protocol. APOP is aĀ challenge/responseĀ protocol which uses theĀ MD5Ā hash functionĀ in an attempt to avoidĀ replay attacksĀ and disclosure of theĀ shared secret. Clients implementing APOP includeĀ Mozilla Thunderbird,Ā Opera Mail,Ā Eudora,Ā KMail,Ā Novell Evolution, RimArts'Ā Becky!,Ā Windows Live Mail, PowerMail,Ā Apple Mail, andĀ Mutt. RFC 1460 was obsoleted by RFC 1725, which was in turn obsoleted by RFC 1939.

POP4

POP4 exists only as an informal proposal adding basic folder management, multipart message support, as well as message flag management to compete with IMAP; however, its development has not progressed since 2003.[4]

Extensions and specifications

An extension mechanism was proposed in RFC 2449 to accommodate general extensions as well as announce in an organized manner support for optional commands, such as TOP and UIDL. The RFC did not intend to encourage extensions and reaffirmed that the role of POP3 is to provide simple support for mainly download-and-delete requirements of mailbox handling.

The extensions are termed capabilities and are listed by the CAPA command. With the exception of APOP, the optional commands were included in the initial set of capabilities. Following the lead of ESMTP (RFC 5321), capabilities beginning with an X signify local capabilities.

STARTTLS

The STARTTLS extension allows the use ofĀ Transport Layer SecurityĀ (TLS) orĀ Secure Sockets LayerĀ (SSL) to be negotiated using theĀ STLSĀ command, on the standard POP3 port, rather than an alternate. Some clients and servers instead use the alternate-port method, which uses TCP port 995 (POP3S).

SDPS

Demon InternetĀ introduced extensions to POP3 that allow multiple accounts per domain, and has become known asĀ Standard Dial-up POP3 ServiceĀ (SDPS).Ā To access each account, the username includes the hostname, asĀ john@hostnameĀ orĀ john+hostname.

Google Apps uses the same method.

Kerberized Post Office Protocol

InĀ computing, localĀ e-mail clientsĀ can use theĀ Kerberized Post Office ProtocolĀ (KPOP), anĀ application-layerĀ Internet standardĀ protocol, to retrieveĀ e-mailĀ from a remoteĀ serverĀ over aĀ TCP/IPĀ connection. The KPOP protocol is based on the POP3 protocol – differing in that it addsĀ KerberosĀ security and that it runs by default overĀ TCPĀ port number 1109 instead of 110. One mail server software implementation is found in theĀ Cyrus IMAP server.

Article Copyright Wikipedia -Ā Back to Knowledge Base

ClickĀ hereĀ for the original article.

Row triangle Shape Decorative svg added to top
trans

Horizon Electronics
7925 Evies Way
Port Richey, FL 34668
727-845-4444

If you would like a quote for an upcoming job, please fill our contact form here:

Nationwide Coverage

Copyright Ā© 2025 - Horizon Electronics