Internet Engineering Task Force (IETF) A. Gulbrandsen
Request for Comments: 6858 March 2013
Updates: 3501
Category: Standards Track
ISSN: 2070-1721
Simplified POP and IMAP Downgrading for Internationalized Email
Gulbrandsen Standards Track [Page 1]
RFC 6858 POP and IMAP for Internationalized Email March 2013 1. OverviewA conventional IMAP or POP client may open a mailbox containing internationalized messages or may even attempt to read internationalized messages, for instance, when a user has both internationalized and conventional Mail User Agents (MUAs).
2. Information Preserved and Lost
The surrogate message is intended to convey the most important information to the user. Where information is lost, the user should consider the message incomplete rather than modified.
Gulbrandsen Standards Track [Page 2]
RFC 6858 POP and IMAP for Internationalized Email March 2013 2.1. Email AddressesEach internationalized email address in the header fields listed below is replaced with an invalid email address whose display-name tells the user what happened.
2.2. MIME Parameters
Any MIME parameter [RFC2045] (whether in the message header or a body part header) that cannot be presented to the client exactly as it appears in the incoming message is silently excised.
Gulbrandsen Standards Track [Page 3]
RFC 6858 POP and IMAP for Internationalized Email March 2013 2.3. Subject FieldIf the Subject field cannot be presented to the client exactly as it appears in the incoming message, the server presents a representation encoded as specified in RFC 2047.
2.4. Remaining Header Fields
Any header field that cannot be presented to the client, even with the modifications listed in Sections 2.1-2.3, is silently excised.
3. IMAP-Specific Details
IMAP allows clients to retrieve the message size without downloading the message, using RFC822.SIZE, BODY.SIZE[] and so on. The IMAP specification [RFC3501] requires that the returned size be exact.
4. POP-Specific Details
The number of lines specified in the TOP command [RFC1939] refers to the surrogate message. The message size reported by, for example, LIST may refer to either the internationalized or the surrogate message.
Gulbrandsen Standards Track [Page 4]
RFC 6858 POP and IMAP for Internationalized Email March 2013 5. Security ConsiderationsIf the internationalized message uses any sort of signature that covers header fields, the signature of the surrogate message almost certainly is invalid and may be invalid in other cases. This is a necessary limitation of displaying internationalized messages in legacy clients, since those clients do not support internationalized header fields. These cases are discussed in more detail in the POP or IMAP Downgrade document [RFC6857]. Even though invalid, these signatures should not be removed from the surrogate message, to preserve as much of the information as possible from the original message.
6. IANA Considerations
IANA has added DOWNGRADED to the "IMAP Response Codes" registry.7. References 7.1. Normative References[RFC1939] Myers, J. and M. Rose, "Post Office Protocol - Version 3",
Gulbrandsen Standards Track [Page 5]
RFC 6858 POP and IMAP for Internationalized Email March 2013
[RFC2606] Eastlake, D., 3rd and A. Panitz, "Reserved Top Level DNS
7.2. Informative References
[RFC1925] Callon, R., "The Twelve Networking Truths", RFC 1925,
8. Acknowledgements
Claudio Allocchio, Ned Freed, Kazunori Fujiwara, Ted Hardie, John Klensin, Barry Leiba, John Levine, Alexey Melnikov, Chris Newman, and Joseph Yee. This specification was inspired by the principle stated in Rule 12 of "The Twelve Networking Truths" [RFC1925].