6856
PROPOSED STANDARD
Post Office Protocol Version 3 (POP3) Support for UTF-8
Authors: R. Gellens, C. Newman, J. Yao, K. Fujiwara
Date: March 2013
Area: app
Working Group: eai
Stream: IETF
Obsoletes:
RFC 5721
Abstract
This specification extends the Post Office Protocol version 3 (POP3) to support international strings encoded in UTF-8 in usernames, passwords, mail addresses, message headers, and protocol-level text strings.
RFC 6856
PROPOSED STANDARD
Internet Engineering Task Force (IETF) R. Gellens
Request for Comments: 6856 QUALCOMM Incorporated
Obsoletes: <a href="./rfc5721">5721</a> C. Newman
Category: Standards Track Oracle
ISSN: 2070-1721 J. Yao
CNNIC
K. Fujiwara
JPRS
March 2013
<span class="h1">Post Office Protocol Version 3 (POP3) Support for UTF-8</span>
Abstract
This specification extends the Post Office Protocol version 3 (POP3)
to support international strings encoded in UTF-8 in usernames,
passwords, mail addresses, message headers, and protocol-level text
strings.
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in <a href="./rfc5741#section-2">Section 2 of RFC 5741</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="https://www.rfc-editor.org/info/rfc6856">http://www.rfc-editor.org/info/rfc6856</a>.
<span class="grey">Gellens, et al. Standards Track [Page 1]</span>
<span id="page-2" ></span>
<span class="grey"><a href="./rfc6856">RFC 6856</a> POP3 Support for UTF-8 March 2013</span>
Copyright Notice
Copyright (c) 2013 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
This document may contain material from IETF Documents or IETF
Contributions published or made publicly available before November
10, 2008. The person(s) controlling the copyright in some of this
material may not have granted the IETF Trust the right to allow
modifications of such material outside the IETF Standards Process.
Without obtaining an adequate license from the person(s) controlling
the copyright in such materials, this document may not be modified
outside the IETF Standards Process, and derivative works of it may
not be created outside the IETF Standards Process, except to format
it for publication as an RFC or to translate it into languages other
than English.
Table of Contents
<a href="#section-1">1</a>. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-1.1">1.1</a>. Conventions Used in This Document . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-2">2</a>. "UTF8" Capability . . . . . . . . . . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-2.1">2.1</a>. The "UTF8" Command . . . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-2.2">2.2</a>. USER Argument to "UTF8" Capability . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-3">3</a>. "LANG" Capability . . . . . . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<a href="#section-3.1">3.1</a>. Definition . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<a href="#section-3.2">3.2</a>. Discussion . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<a href="#section-3.3">3.3</a>. Examples . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-8">8</a>
<a href="#section-4">4</a>. Non-ASCII Character Maildrops . . . . . . . . . . . . . . . . <a href="#page-9">9</a>
<a href="#section-5">5</a>. "UTF8" Response Code . . . . . . . . . . . . . . . . . . . . . <a href="#page-10">10</a>
<a href="#section-6">6</a>. IANA Considerations . . . . . . . . . . . . . . . . . . . . . <a href="#page-10">10</a>
<a href="#section-7">7</a>. Security Considerations . . . . . . . . . . . . . . . . . . . <a href="#page-10">10</a>
<a href="#section-8">8</a>. References . . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-11">11</a>
<a href="#section-8.1">8.1</a>. Normative References . . . . . . . . . . . . . . . . . . . <a href="#page-11">11</a>
<a href="#section-8.2">8.2</a>. Informative References . . . . . . . . . . . . . . . . . . <a href="#page-12">12</a>
<a href="#appendix-A">Appendix A</a>. Design Rationale . . . . . . . . . . . . . . . . . . <a href="#page-13">13</a>
<a href="#appendix-B">Appendix B</a>. Acknowledgments . . . . . . . . . . . . . . . . . . . <a href="#page-13">13</a>
<span class="grey">Gellens, et al. Standards Track [Page 2]</span>
<span id="page-3" ></span>
<span class="grey"><a href="./rfc6856">RFC 6856</a> POP3 Support for UTF-8 March 2013</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
This document forms part of the Email Address Internationalization
protocols described in the Email Address Internationalization
Framework document [<a href="./rfc6530" title=""Overview and Framework for Internationalized Email"">RFC6530</a>]. As part of the overall Email Address
Internationalization work, email messages can be transmitted and
delivered containing a Unicode string encoded in UTF-8 in the header
and/or body, and maildrops that are accessed using POP3 [<a href="./rfc1939" title=""Post Office Protocol - Version 3"">RFC1939</a>]
might natively store Unicode characters.
This specification extends POP3 using the POP3 extension mechanism
[<a href="./rfc2449" title=""POP3 Extension Mechanism"">RFC2449</a>] to permit un-encoded UTF-8 [<a href="./rfc3629" title=""UTF-8, a transformation format of ISO 10646"">RFC3629</a>] in headers and bodies
(e.g., transferred using 8-bit content-transfer-encoding) as
described in "Internationalized Email Headers" [<a href="./rfc6532" title=""Internationalized Email Headers"">RFC6532</a>]. It also
adds a mechanism to support login names and passwords containing a
UTF-8 string (see <a href="#section-1.1">Section 1.1</a> below), a mechanism to support UTF-8
strings in protocol-level response strings, and the ability to
negotiate a language for such response strings.
This specification also adds a new response code to indicate that a
message was not delivered because it required UTF-8 mode (as
discussed in <a href="#section-2">Section 2</a>) and the server was unable or unwilling to
create and deliver a surrogate form of the message as discussed in
<a href="#section-7">Section 7</a> of "IMAP Support for UTF-8" [<a href="./rfc6855" title=""IMAP Support for UTF-8"">RFC6855</a>].
This specification replaces an earlier, experimental, approach to the
same problem [<a href="./rfc5721" title=""POP3 Support for UTF-8"">RFC5721</a>].
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>. Conventions Used in This Document</span>
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in "Key words for use in
RFCs to Indicate Requirement Levels" [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
The terms "UTF-8 string" or "UTF-8 character" are used to refer to
Unicode characters, which may or may not be members of the ASCII
repertoire, encoded in UTF-8 [<a href="./rfc3629" title=""UTF-8, a transformation format of ISO 10646"">RFC3629</a>], a standard Unicode encoding
form. All other specialized terms used in this specification are
defined in the Email Address Internationalization framework document.
In examples, "C:" and "S:" indicate lines sent by the client and
server, respectively. If a single "C:" or "S:" label applies to
multiple lines, then the line breaks between those lines are for
editorial clarity only and are not part of the actual protocol
exchange.
<span class="grey">Gellens, et al. Standards Track [Page 3]</span>
<span id="page-4" ></span>
<span class="grey"><a href="./rfc6856">RFC 6856</a> POP3 Support for UTF-8 March 2013</span>
Note that examples always use ASCII characters due to limitations of
the RFC format; otherwise, some examples for the "LANG" command would
have appeared incorrectly.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. "UTF8" Capability</span>
This specification adds a new POP3 Extension [<a href="./rfc2449" title=""POP3 Extension Mechanism"">RFC2449</a>] capability
response tag and command to specify support for header field
information outside the ASCII repertoire. The capability tag and new
command and functionality are described below.
CAPA tag:
UTF8
Arguments with CAPA tag:
USER
Added Commands:
UTF8
Standard commands affected:
USER, PASS, APOP, LIST, TOP, RETR
Announced states / possible differences:
both / no
Commands valid in states:
AUTHORIZATION
Specification reference:
this document
Discussion:
This capability adds the "UTF8" command to POP3. The "UTF8" command
switches the session from the ASCII-only mode of POP3 [<a href="./rfc1939" title=""Post Office Protocol - Version 3"">RFC1939</a>] to
UTF-8 mode. The UTF-8 mode means that all messages transmitted
between servers and clients are UTF-8 strings, and both servers and
clients can send and accept UTF-8 strings.
<span class="grey">Gellens, et al. Standards Track [Page 4]</span>
<span id="page-5" ></span>
<span class="grey"><a href="./rfc6856">RFC 6856</a> POP3 Support for UTF-8 March 2013</span>
<span class="h3"><a class="selflink" id="section-2.1" href="#section-2.1">2.1</a>. The "UTF8" Command</span>
The "UTF8" command enables UTF-8 mode. The "UTF8" command has no
parameters.
UTF-8 mode has no effect on messages in an ASCII-only maildrop.
Messages in native Unicode maildrops can be encoded in UTF-8 using
internationalized headers [<a href="./rfc6532" title=""Internationalized Email Headers"">RFC6532</a>], in 8bit
content-transfer-encoding (see <a href="#section-2.8">Section 2.8</a> of MIME [<a href="./rfc2045" title=""Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies"">RFC2045</a>]), in
ASCII, or in any combination of these options. In UTF-8 mode, if the
character encoding format of maildrops is UTF-8 or ASCII, the
messages are sent to the client as is; if the character encoding
format of maildrops is a format other than UTF-8 or ASCII, the
messages' encoding format SHOULD be converted to be UTF-8 before they
are sent to the client. When UTF-8 mode has not been enabled,
character strings outside the ASCII repertoire MUST NOT be sent to
the client as is. If a client requests a UTF-8 message when UTF-8
mode is not enabled, the server MUST either send the client a
surrogate message that complies with unextended POP and Internet Mail
Format without UTF-8 mode support, or fail the request with an -ERR
response. See <a href="#section-7">Section 7</a> of "IMAP Support for UTF-8" [<a href="./rfc6855" title=""IMAP Support for UTF-8"">RFC6855</a>] for
information about creating a surrogate message and for a discussion
of potential issues. <a href="#section-5">Section 5</a> of this document discusses "UTF8"
response codes. The server MAY respond to the "UTF8" command with an
-ERR response.
Note that even in UTF-8 mode, MIME binary content-transfer-encoding
as defined in <a href="#section-6.2">Section 6.2</a> of MIME [<a href="./rfc2045" title=""Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies"">RFC2045</a>] is still not permitted.
MIME 8bit content-transfer-encoding (8BITMIME) [<a href="./rfc6152" title=""SMTP Service Extension for 8-bit MIME Transport"">RFC6152</a>] is obviously
allowed.
The octet count (size) of a message reported in a response to the
"LIST" command SHOULD match the actual number of octets sent in a
"RETR" response (not counting byte-stuffing). Sizes reported
elsewhere, such as in "STAT" responses and non-standardized,
free-form text in positive status indicators (following "+OK") need
not be accurate, but it is preferable if they are.
Normal operation for maildrops that natively support non-ASCII
characters will be for both servers and clients to support the
extension discussed in this specification. Upgrading both clients
and servers is the only fully satisfactory way to support the
capabilities offered by the "UTF8" extension and SMTPUTF8 mail more
generally. Servers must, however, anticipate the possibility of a
client attempting to access a message that requires this extension
without having issued the "UTF8" command. There are no completely
satisfactory responses for this case other than upgrading the client
to support this specification. One solution, unsatisfactory because
<span class="grey">Gellens, et al. Standards Track [Page 5]</span>
<span id="page-6" ></span>
<span class="grey"><a href="./rfc6856">RFC 6856</a> POP3 Support for UTF-8 March 2013</span>
the user may be confused by being able to access the message through
some means and not others, is that a server MAY choose to reject the
command to retrieve the message as discussed in <a href="#section-5">Section 5</a>. Other
alternatives, including the possibility of creating and delivering a
surrogate form of the message, are discussed in <a href="#section-7">Section 7</a> of "IMAP
Support for UTF-8" [<a href="./rfc6855" title=""IMAP Support for UTF-8"">RFC6855</a>].
Clients MUST NOT issue the "STLS" command [<a href="./rfc2595" title=""Using TLS with IMAP, POP3 and ACAP"">RFC2595</a>] after issuing
UTF8; servers MAY (but are not required to) enforce this by rejecting
with an -ERR response an "STLS" command issued subsequent to a
successful "UTF8" command. (Because this is a protocol error as
opposed to a failure based on conditions, an extended response code
[<a href="./rfc2449" title=""POP3 Extension Mechanism"">RFC2449</a>] is not specified.)
<span class="h3"><a class="selflink" id="section-2.2" href="#section-2.2">2.2</a>. USER Argument to "UTF8" Capability</span>
If the USER argument is included with this capability, it indicates
that the server accepts UTF-8 usernames and passwords.
Servers that include the USER argument in the "UTF8" capability
response SHOULD apply SASLprep [<a href="./rfc4013" title=""SASLprep: Stringprep Profile for User Names and Passwords"">RFC4013</a>] or one of its Standards
Track successors to the arguments of the "USER" and "PASS" commands.
A client or server that supports APOP and permits UTF-8 in usernames
or passwords MUST apply SASLprep or one of its Standards Track
successors to the username and password used to compute the APOP
digest.
When applying SASLprep, servers MUST reject UTF-8 usernames or
passwords that contain a UTF-8 character listed in <a href="#section-2.3">Section 2.3</a> of
SASLprep. When applying SASLprep to the USER argument, the PASS
argument, or the APOP username argument, a compliant server or client
MUST treat them as a query string [<a href="./rfc3454" title=""Preparation of Internationalized Strings ("">RFC3454</a>]. When applying SASLprep
to the APOP password argument, a compliant server or client MUST
treat them as a stored string [<a href="./rfc3454" title=""Preparation of Internationalized Strings ("">RFC3454</a>].
If the server includes the USER argument in the UTF8 capability
response, the client MAY use UTF-8 characters with a "USER", "PASS",
or "APOP" command; the client MAY do so before issuing the "UTF8"
command. Clients MUST NOT use UTF-8 characters when authenticating
if the server did not include the USER argument in the UTF8
capability response.
The server MUST reject UTF-8 usernames or passwords that fail to
comply with the formal syntax in UTF-8 [<a href="./rfc3629" title=""UTF-8, a transformation format of ISO 10646"">RFC3629</a>].
Use of UTF-8 strings in the "AUTH" command is governed by the POP3
SASL [<a href="./rfc5034" title=""The Post Office Protocol (POP3) Simple Authentication and Security Layer (SASL) Authentication Mechanism"">RFC5034</a>] mechanism.
<span class="grey">Gellens, et al. Standards Track [Page 6]</span>
<span id="page-7" ></span>
<span class="grey"><a href="./rfc6856">RFC 6856</a> POP3 Support for UTF-8 March 2013</span>
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. "LANG" Capability</span>
This document adds a new POP3 extension [<a href="./rfc2449" title=""POP3 Extension Mechanism"">RFC2449</a>] capability response
tag to indicate support for a new command: "LANG".
<span class="h3"><a class="selflink" id="section-3.1" href="#section-3.1">3.1</a>. Definition</span>
The capability tag and new command are described below.
CAPA tag:
LANG
Arguments with CAPA tag:
none
Added Commands:
LANG
Standard commands affected:
All
Announced states / possible differences:
both / no
Commands valid in states:
AUTHORIZATION, TRANSACTION
Specification reference:
this document
<span class="h3"><a class="selflink" id="section-3.2" href="#section-3.2">3.2</a>. Discussion</span>
POP3 allows most +OK and -ERR server responses to include human-
readable text that, in some cases, might be presented to the user.
But that text is limited to ASCII by the POP3 specification
[<a href="./rfc1939" title=""Post Office Protocol - Version 3"">RFC1939</a>]. The "LANG" capability and command permit a POP3 client to
negotiate which language the server uses when sending human-readable
text.
The "LANG" command requests that human-readable text included in all
subsequent +OK and -ERR responses be localized to a language matching
the language range argument (the "basic language range" as described
by the "Matching of Language Tags" [<a href="./rfc4647" title=""Matching of Language Tags"">RFC4647</a>]). If the command
succeeds, the server returns a +OK response followed by a single
space, the exact language tag selected, and another space. Human-
readable text in the appropriate language then appears in the rest of
the line. This, and subsequent protocol-level human-readable text,
is encoded in the UTF-8 charset.
<span class="grey">Gellens, et al. Standards Track [Page 7]</span>
<span id="page-8" ></span>
<span class="grey"><a href="./rfc6856">RFC 6856</a> POP3 Support for UTF-8 March 2013</span>
If the command fails, the server returns an -ERR response and
subsequent human-readable response text continues to use the language
that was previously used.
If the client issues a "LANG" command with the special "*" language
range argument, it indicates a request to use a language designated
as preferred by the server administrator. The preferred language MAY
vary based on the currently active user.
If no argument is given and the POP3 server issues a positive
response, that response will usually consist of multiple lines.
After the initial +OK, for each language tag the server supports, the
POP3 server responds with a line for that language. This line is
called a "language listing".
In order to simplify parsing, all POP3 servers are required to use a
certain format for language listings. A language listing consists of
the language tag [<a href="./rfc5646" title=""Tags for Identifying Languages"">RFC5646</a>] of the message, optionally followed by a
single space and a human-readable description of the language in the
language itself, using the UTF-8 charset. There is no specific order
to the listing of languages; the order may depend on configuration or
implementation.
<span class="h3"><a class="selflink" id="section-3.3" href="#section-3.3">3.3</a>. Examples</span>
Examples for "LANG" capability usage are shown below.
Note that some examples do not include the correct character
accents due to limitations of the RFC format.
C: USER karen
S: +OK Hello, karen
C: PASS password
S: +OK karen's maildrop contains 2 messages (320 octets)
Client requests deprecated MUL language [<a href="#ref-ISO639-2" title=""ISO 639-2:1998. Codes for the representation of names of languages -- Part 2: Alpha-3 code"">ISO639-2</a>]. Server
replies with -ERR response.
C: LANG MUL
S: -ERR invalid language MUL
<span class="grey">Gellens, et al. Standards Track [Page 8]</span>
<span id="page-9" ></span>
<span class="grey"><a href="./rfc6856">RFC 6856</a> POP3 Support for UTF-8 March 2013</span>
A LANG command with no parameters is a request for
a language listing.
C: LANG
S: +OK Language listing follows:
S: en English
S: en-boont English Boontling dialect
S: de Deutsch
S: it Italiano
S: es Espanol
S: sv Svenska
S: .
A request for a language listing might fail.
C: LANG
S: -ERR Server is unable to list languages
Once the client selects the language, all responses will be in
that language, starting with the response to the "LANG" command.
C: LANG es
S: +OK es Idioma cambiado
If a server returns an -ERR response to a "LANG" command
that specifies a primary language, the current language
for responses remains in effect.
C: LANG uga
S: -ERR es Idioma <<UGA>> no es conocido
C: LANG sv
S: +OK sv Kommandot "LANG" lyckades
C: LANG *
S: +OK es Idioma cambiado
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Non-ASCII Character Maildrops</span>
When a POP3 server uses a native non-ASCII character maildrop, it is
the responsibility of the server to comply with the POP3 base
specification [<a href="./rfc1939" title=""Post Office Protocol - Version 3"">RFC1939</a>] and Internet Message Format [<a href="./rfc5322" title=""Internet Message Format"">RFC5322</a>] when
not in UTF-8 mode. When the server is not in UTF-8 mode and the
message requires that mode, requests to download the message MAY be
rejected (as specified in the next section) or the various
alternatives outlined in <a href="#section-2.1">Section 2.1</a> above, including creation and
delivery of surrogates for the original message, MAY be considered.
<span class="grey">Gellens, et al. Standards Track [Page 9]</span>
<span id="page-10" ></span>
<span class="grey"><a href="./rfc6856">RFC 6856</a> POP3 Support for UTF-8 March 2013</span>
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. "UTF8" Response Code</span>
Per "POP3 Extension Mechanism" [<a href="./rfc2449" title=""POP3 Extension Mechanism"">RFC2449</a>], this document adds a new
response code: UTF8, described below.
Complete response code:
UTF8
Valid for responses:
-ERR
Valid for commands:
LIST, TOP, RETR
Response code meaning and expected client behavior:
The "UTF8" response code indicates that a failure is due to a
request for message content that contains a UTF-8 string when the
client is not in UTF-8 mode.
The client MAY reissue the command after entering UTF-8 mode.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. IANA Considerations</span>
Sections <a href="#section-2">2</a> and <a href="#section-3">3</a> of this specification update two capabilities
("UTF8" and "LANG") in the POP3 capability registry [<a href="./rfc2449" title=""POP3 Extension Mechanism"">RFC2449</a>].
<a href="#section-5">Section 5</a> of this specification adds one new response code ("UTF8")
to the POP3 response codes registry [<a href="./rfc2449" title=""POP3 Extension Mechanism"">RFC2449</a>].
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Security Considerations</span>
The security considerations of UTF-8 [<a href="./rfc3629" title=""UTF-8, a transformation format of ISO 10646"">RFC3629</a>], SASLprep [<a href="./rfc4013" title=""SASLprep: Stringprep Profile for User Names and Passwords"">RFC4013</a>],
and the Unicode Format for Network Interchange [<a href="./rfc5198" title=""Unicode Format for Network Interchange"">RFC5198</a>] apply to
this specification, particularly with respect to use of UTF-8 strings
in usernames and passwords.
The "LANG *" command might reveal the existence and preferred
language of a user to an active attacker probing the system if the
active language changes in response to the "USER", "PASS", or "APOP"
commands prior to validating the user's credentials. Servers are
strongly advised to implement a configuration to prevent this
exposure.
It is possible for a man-in-the-middle attacker to insert a "LANG"
command in the command stream, thus, making protocol-level diagnostic
responses unintelligible to the user. A mechanism to protect the
<span class="grey">Gellens, et al. Standards Track [Page 10]</span>
<span id="page-11" ></span>
<span class="grey"><a href="./rfc6856">RFC 6856</a> POP3 Support for UTF-8 March 2013</span>
integrity of the session can be used to defeat such attacks. For
example, a client can issue the "STLS" command [<a href="./rfc2595" title=""Using TLS with IMAP, POP3 and ACAP"">RFC2595</a>] before
issuing the "LANG" command.
As with other internationalization upgrades, modifications to server
authentication code (in this case, to support non-ASCII strings) need
to be done with care to avoid introducing vulnerabilities (for
example, in string parsing or matching). This is particularly
important if the native databases or mailstore of the operating
system use some character set or encoding other than Unicode in
UTF-8.
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. References</span>
<span class="h3"><a class="selflink" id="section-8.1" href="#section-8.1">8.1</a>. Normative References</span>
[<a id="ref-RFC1939">RFC1939</a>] Myers, J. and M. Rose, "Post Office Protocol - Version
3", STD 53, <a href="./rfc1939">RFC 1939</a>, May 1996.
[<a id="ref-RFC2045">RFC2045</a>] Freed, N. and N. Borenstein, "Multipurpose Internet Mail
Extensions (MIME) Part One: Format of Internet Message
Bodies", <a href="./rfc2045">RFC 2045</a>, November 1996.
[<a id="ref-RFC2047">RFC2047</a>] Moore, K., "MIME (Multipurpose Internet Mail Extensions)
Part Three: Message Header Extensions for Non-ASCII
Text", <a href="./rfc2047">RFC 2047</a>, November 1996.
[<a id="ref-RFC2119">RFC2119</a>] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>, March 1997.
[<a id="ref-RFC2449">RFC2449</a>] Gellens, R., Newman, C., and L. Lundblade, "POP3
Extension Mechanism", <a href="./rfc2449">RFC 2449</a>, November 1998.
[<a id="ref-RFC3454">RFC3454</a>] Hoffman, P. and M. Blanchet, "Preparation of
Internationalized Strings ("stringprep")", <a href="./rfc3454">RFC 3454</a>,
December 2002.
[<a id="ref-RFC3629">RFC3629</a>] Yergeau, F., "UTF-8, a transformation format of ISO
10646", STD 63, <a href="./rfc3629">RFC 3629</a>, November 2003.
[<a id="ref-RFC4013">RFC4013</a>] Zeilenga, K., "SASLprep: Stringprep Profile for User
Names and Passwords", <a href="./rfc4013">RFC 4013</a>, February 2005.
[<a id="ref-RFC4647">RFC4647</a>] Phillips, A. and M. Davis, "Matching of Language Tags",
<a href="https://www.rfc-editor.org/bcp/bcp47">BCP 47</a>, <a href="./rfc4647">RFC 4647</a>, September 2006.
[<a id="ref-RFC5198">RFC5198</a>] Klensin, J. and M. Padlipsky, "Unicode Format for Network
Interchange", <a href="./rfc5198">RFC 5198</a>, March 2008.
<span class="grey">Gellens, et al. Standards Track [Page 11]</span>
<span id="page-12" ></span>
<span class="grey"><a href="./rfc6856">RFC 6856</a> POP3 Support for UTF-8 March 2013</span>
[<a id="ref-RFC5322">RFC5322</a>] Resnick, P., Ed., "Internet Message Format", <a href="./rfc5322">RFC 5322</a>,
October 2008.
[<a id="ref-RFC5646">RFC5646</a>] Phillips, A. and M. Davis, "Tags for Identifying
Languages", <a href="https://www.rfc-editor.org/bcp/bcp47">BCP 47</a>, <a href="./rfc5646">RFC 5646</a>, September 2009.
[<a id="ref-RFC6152">RFC6152</a>] Klensin, J., Freed, N., Rose, M., and D. Crocker, "SMTP
Service Extension for 8-bit MIME Transport", STD 71,
<a href="./rfc6152">RFC 6152</a>, March 2011.
[<a id="ref-RFC6530">RFC6530</a>] Klensin, J. and Y. Ko, "Overview and Framework for
Internationalized Email", <a href="./rfc6530">RFC 6530</a>, February 2012.
[<a id="ref-RFC6532">RFC6532</a>] Yang, A., Steele, S., and N. Freed, "Internationalized
Email Headers", <a href="./rfc6532">RFC 6532</a>, February 2012.
[<a id="ref-RFC6855">RFC6855</a>] Resnick, P., Newman, C., and S. Shen, "IMAP Support for
UTF-8", <a href="./rfc6855">RFC 6855</a>, March 2013.
<span class="h3"><a class="selflink" id="section-8.2" href="#section-8.2">8.2</a>. Informative References</span>
[<a id="ref-ISO639-2">ISO639-2</a>] International Organization for Standardization, "ISO
639-2:1998. Codes for the representation of names of
languages -- Part 2: Alpha-3 code", October 1998.
[<a id="ref-RFC2231">RFC2231</a>] Freed, N. and K. Moore, "MIME Parameter Value and Encoded
Word Extensions:
Character Sets, Languages, and Continuations", <a href="./rfc2231">RFC 2231</a>,
November 1997.
[<a id="ref-RFC2595">RFC2595</a>] Newman, C., "Using TLS with IMAP, POP3 and ACAP",
<a href="./rfc2595">RFC 2595</a>, June 1999.
[<a id="ref-RFC5034">RFC5034</a>] Siemborski, R. and A. Menon-Sen, "The Post Office
Protocol (POP3) Simple Authentication and Security Layer
(SASL) Authentication Mechanism", <a href="./rfc5034">RFC 5034</a>, July 2007.
[<a id="ref-RFC5721">RFC5721</a>] Gellens, R. and C. Newman, "POP3 Support for UTF-8",
<a href="./rfc5721">RFC 5721</a>, February 2010.
<span class="grey">Gellens, et al. Standards Track [Page 12]</span>
<span id="page-13" ></span>
<span class="grey"><a href="./rfc6856">RFC 6856</a> POP3 Support for UTF-8 March 2013</span>
<span class="h2"><a class="selflink" id="appendix-A" href="#appendix-A">Appendix A</a>. Design Rationale</span>
This non-normative section discusses the reasons behind some of the
design choices in this specification.
Due to interoperability problems with the MIME Message Header
Extensions [<a href="./rfc2047" title=""MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text"">RFC2047</a>] and limited deployment of the extended MIME
parameter encodings [<a href="./rfc2231" title=""MIME Parameter Value and Encoded Word Extensions: Character Sets, Languages, and Continuations"">RFC2231</a>], it is hoped these 7-bit encoding
mechanisms can be deprecated in the future when UTF-8 header support
becomes prevalent.
The USER capability (<a href="#section-2.2">Section 2.2</a>) and hence the upgraded "USER"
command and additional support for non-ASCII credentials, are
optional because the implementation burden of SASLprep [<a href="./rfc4013" title=""SASLprep: Stringprep Profile for User Names and Passwords"">RFC4013</a>] is
not well understood, and mandating such support in all cases could
negatively impact deployment.
<span class="h2"><a class="selflink" id="appendix-B" href="#appendix-B">Appendix B</a>. Acknowledgments</span>
Thanks to John Klensin, Joseph Yee, Tony Hansen, Alexey Melnikov, and
other Email Address Internationalization working group participants
who provided helpful suggestions and interesting debate that improved
this specification.
<span class="grey">Gellens, et al. Standards Track [Page 13]</span>
<span id="page-14" ></span>
<span class="grey"><a href="./rfc6856">RFC 6856</a> POP3 Support for UTF-8 March 2013</span>
Authors' Addresses
Randall Gellens
QUALCOMM Incorporated
5775 Morehouse Drive
San Diego, CA 92651
USA
EMail: [email protected]
Chris Newman
Oracle
800 Royal Oaks
Monrovia, CA 91016-6347
USA
EMail: [email protected]
Jiankang YAO
CNNIC
No.4 South 4th Street, Zhongguancun
Beijing
China
Phone: +86 10 58813007
EMail: [email protected]
Kazunori Fujiwara
Japan Registry Services Co., Ltd.
Chiyoda First Bldg. East 13F, 3-8-1 Nishi-Kanda
Tokyo
Japan
Phone: +81 3 5215 8451
EMail: [email protected]
Gellens, et al. Standards Track [Page 14]
Annotations
Select text to annotate