rfc5788.IMAP4_Keyword_registry.txt 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619
  1. Internet Engineering Task Force (IETF) A. Melnikov
  2. Request for Comments: 5788 D. Cridland
  3. Category: Standards Track Isode Limited
  4. ISSN: 2070-1721 March 2010
  5. IMAP4 Keyword Registry
  6. Abstract
  7. The aim of this document is to establish a new IANA registry for IMAP
  8. keywords and to define a procedure for keyword registration, in order
  9. to improve interoperability between different IMAP clients.
  10. Status of This Memo
  11. This is an Internet Standards Track document.
  12. This document is a product of the Internet Engineering Task Force
  13. (IETF). It represents the consensus of the IETF community. It has
  14. received public review and has been approved for publication by the
  15. Internet Engineering Steering Group (IESG). Further information on
  16. Internet Standards is available in Section 2 of RFC 5741.
  17. Information about the current status of this document, any errata,
  18. and how to provide feedback on it may be obtained at
  19. http://www.rfc-editor.org/info/rfc5788.
  20. Copyright Notice
  21. Copyright (c) 2010 IETF Trust and the persons identified as the
  22. document authors. All rights reserved.
  23. This document is subject to BCP 78 and the IETF Trust's Legal
  24. Provisions Relating to IETF Documents
  25. (http://trustee.ietf.org/license-info) in effect on the date of
  26. publication of this document. Please review these documents
  27. carefully, as they describe your rights and restrictions with respect
  28. to this document. Code Components extracted from this document must
  29. include Simplified BSD License text as described in Section 4.e of
  30. the Trust Legal Provisions and are provided without warranty as
  31. described in the Simplified BSD License.
  32. Melnikov & Cridland Standards Track [Page 1]
  33. RFC 5788 IMAP4 Keyword Registry March 2010
  34. Table of Contents
  35. 1. Introduction ....................................................2
  36. 2. Conventions Used in This Document ...............................2
  37. 3. IANA Considerations .............................................3
  38. 3.1. Review Guidelines for the Designated Expert Reviewer .......4
  39. 3.2. Comments on IMAP Keywords' Registrations ...................5
  40. 3.3. Change Control .............................................5
  41. 3.4. Initial Registrations ......................................6
  42. 3.4.1. $MDNSent IMAP Keyword Registration ..................6
  43. 3.4.2. $Forwarded IMAP Keyword Registration ................7
  44. 3.4.3. $SubmitPending IMAP Keyword Registration ............8
  45. 3.4.4. $Submitted IMAP Keyword Registration ................9
  46. 4. Security Considerations ........................................10
  47. 5. Acknowledgements ...............................................10
  48. 6. References .....................................................10
  49. 6.1. Normative References ......................................10
  50. 6.2. Informative References ....................................11
  51. 1. Introduction
  52. IMAP keywords [RFC3501] are boolean named flags that can be used by
  53. clients to annotate messages in an IMAP mailbox. Although IMAP
  54. keywords are an optional feature of IMAP, the majority of IMAP
  55. servers can store arbitrary keywords. Many mainstream IMAP clients
  56. use a limited set of specific keywords, and some can manage (create,
  57. edit, display) arbitrary IMAP keywords.
  58. Over the years, some IMAP keywords have become de-facto standards,
  59. with some specific semantics associated with them. In some cases,
  60. different client implementors decided to define and use keywords with
  61. different names, but the same semantics. Some server implementors
  62. decided to map such keywords automatically in order to improve cross-
  63. client interoperability.
  64. In other cases, the same keywords have been used with different
  65. semantics, thus causing interoperability problems.
  66. This document attempts to prevent further incompatible uses of IMAP
  67. keywords by establishing an "IMAP Keywords" registry and allocating a
  68. special prefix for standardized keywords.
  69. 2. Conventions Used in This Document
  70. The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
  71. "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
  72. document are to be interpreted as described in RFC 2119 [Kwds].
  73. Melnikov & Cridland Standards Track [Page 2]
  74. RFC 5788 IMAP4 Keyword Registry March 2010
  75. 3. IANA Considerations
  76. IANA has established a new registry for IMAP keywords.
  77. Registration of an IMAP keyword is requested by filling in the
  78. following template and following the instructions on the IANA pages
  79. for the registry to submit it to IANA:
  80. Subject: Registration of IMAP keyword X
  81. IMAP keyword name:
  82. Purpose (description):
  83. Private or Shared on a server: (One of PRIVATE, SHARED, or BOTH.
  84. PRIVATE means that each different
  85. user has a distinct copy of the
  86. keyword. SHARED means that all
  87. different users see the same value of
  88. the keyword. BOTH means that an IMAP
  89. server can have the keyword as either
  90. private or shared.)
  91. Is it an advisory keyword or may it cause an automatic action:
  92. When/by whom the keyword is set/cleared:
  93. Related keywords: (for example, "mutually exclusive with keywords Y
  94. and Z")
  95. Related IMAP capabilities:
  96. Security considerations:
  97. Published specification (recommended):
  98. Person & email address to contact for further information:
  99. Intended usage: (One of COMMON, LIMITED USE, or DEPRECATED (i.e.,
  100. not recommended for use))
  101. Owner/Change controller: (MUST be "IESG" for any "common use"
  102. keyword registration specified in an IETF
  103. Review document. See definition of "common
  104. use" below in this section. When the
  105. Owner/Change controller is not a
  106. Standardization Organization, the
  107. registration request MUST make it clear if
  108. Melnikov & Cridland Standards Track [Page 3]
  109. RFC 5788 IMAP4 Keyword Registry March 2010
  110. the registration is controlled by a
  111. company, or the individual performing the
  112. registration.)
  113. Note: (Any other information that the author deems interesting
  114. may be added here, for example, if the keyword(s) is
  115. supported by existing clients.)
  116. Registration of an IMAP keyword requires Expert Review [RFC5226].
  117. Registration of any IMAP keyword is initiated by posting a
  118. registration request to the Message Organization WG mailing list
  119. <morg@ietf.org> (or its replacement as chosen by the responsible
  120. Application Area Director) and CCing IANA (<iana@iana.org>). After
  121. allowing for at least two weeks for community input on the designated
  122. mailing list, the expert will determine the appropriateness of the
  123. registration request and either approve or disapprove the request
  124. with notice to the requestor, the mailing list, and IANA. Any
  125. refusal must come with a clear explanation.
  126. The IESG appoints one or more Expert Reviewers for the IMAP keyword
  127. registry established by this document.
  128. The Expert Reviewer should strive for timely reviews. The Expert
  129. Reviewer should take no longer than six weeks to make and announce
  130. the decision, or notify the mailing list that more time is required.
  131. Decisions (or lack of) made by an Expert Reviewer can be first
  132. appealed to Application Area Directors and, if the appellant is not
  133. satisfied with the response, to the full IESG.
  134. There are two types of IMAP keywords in the "IMAP Keywords" registry:
  135. intended for "common use" and vendor-/organization-specific use (also
  136. known as "limited use"). An IMAP keyword is said to be for "common
  137. use" if it is reasonably expected to be implemented in at least two
  138. independent client implementations. The two types of IMAP keywords
  139. have different levels of requirements for registration (see below).
  140. 3.1. Review Guidelines for the Designated Expert Reviewer
  141. Expert Reviewers should focus on the following requirements.
  142. Registration of a vendor-/organization-specific ("limited use") IMAP
  143. keyword is easier. The Expert Reviewer only needs to check that the
  144. requested name doesn't conflict with an already registered name, and
  145. that the name is not too generic, misleading, etc. The Expert
  146. Reviewer MAY request the IMAP keyword name change before approving
  147. Melnikov & Cridland Standards Track [Page 4]
  148. RFC 5788 IMAP4 Keyword Registry March 2010
  149. the registration. The Expert Reviewer SHOULD refuse a registration
  150. if there is an already registered IMAP keyword that serves the same
  151. purpose, but has a different name.
  152. When registering an IMAP keyword for "common use", the Expert
  153. Reviewer performs the checks described for vendor-/
  154. organization-specific IMAP keywords, plus additional checks as
  155. detailed below.
  156. Keywords intended for "common use" SHOULD start with the "$" prefix.
  157. (Note that this is a SHOULD because some of the commonly used IMAP
  158. keywords in widespread use don't follow this convention.)
  159. IMAP keywords intended for "common use" SHOULD be standardized in
  160. IETF Review [RFC5226] documents. (Note that IETF Review documents
  161. still require Expert Review.)
  162. Values in the "IMAP Keywords" IANA registry intended for "common use"
  163. must be clearly documented and likely to ensure interoperability.
  164. They must be useful, not harmful to the Internet. In cases when an
  165. IMAP keyword being registered is already deployed, Expert Reviewers
  166. should favor registering it over requiring perfect documentation
  167. and/or requesting a change to the name of the IMAP keyword.
  168. The Expert Reviewer MAY automatically "upgrade" registration requests
  169. for a "limited use" IMAP keyword to "common use" level. The Expert
  170. Reviewer MAY also request that a registration targeted for "common
  171. use" be registered as "limited use" instead.
  172. 3.2. Comments on IMAP Keywords' Registrations
  173. Comments on registered IMAP keywords should be sent to both the
  174. "owner" of the mechanism and to the mailing list designated to IMAP
  175. keyword review (see Section 3). This improves the chances of getting
  176. a timely response.
  177. Submitters of comments may, after a reasonable attempt to contact the
  178. owner and after soliciting comments on the IMAP mailing list, request
  179. the designated Expert Reviewer to attach their comment to the IMAP
  180. keyword registration itself. The procedure is similar to requesting
  181. an Expert Review for the affected keyword.
  182. 3.3. Change Control
  183. Once an IMAP keyword registration has been published by IANA, the
  184. owner may request a change to its definition. The change request
  185. (including a change to the "intended usage" field) follows the same
  186. procedure as the initial registration request, with the exception of
  187. Melnikov & Cridland Standards Track [Page 5]
  188. RFC 5788 IMAP4 Keyword Registry March 2010
  189. changes to the "Person & email address to contact for further
  190. information" and "Owner/Change controller" fields. The latter can be
  191. changed by the owner by informing IANA; this can be done without
  192. discussion or review.
  193. The IESG may reassign responsibility for an IMAP keyword. The most
  194. common case of this will be to enable clarifications to be made to
  195. keywords where the owner of the registration has died, moved out of
  196. contact, or is otherwise unable to make changes that are important to
  197. the community.
  198. IMAP keyword registrations MUST NOT be deleted; keywords that are no
  199. longer believed appropriate for use can be declared DEPRECATED by a
  200. change to their "intended usage" field.
  201. The IESG is considered the owner of all "common use" IMAP keywords
  202. that are published in an IETF Review document.
  203. 3.4. Initial Registrations
  204. IANA has registered the IMAP keywords specified in following
  205. subsections in the registry established by this document.
  206. 3.4.1. $MDNSent IMAP Keyword Registration
  207. Subject: Registration of IMAP keyword $MDNSent
  208. IMAP keyword name: $MDNSent
  209. Purpose (description): Specifies that a Message Disposition
  210. Notification (MDN) must not be sent for any
  211. message annotated with the $MDNSent IMAP
  212. keyword.
  213. Private or Shared on a server: SHARED
  214. Is it an advisory keyword or may it cause an automatic action:
  215. This keyword can cause automatic action by
  216. the client. See [RFC3503] for more details.
  217. When/by whom the keyword is set/cleared:
  218. This keyword is set by an IMAP client when it
  219. decides to act on an MDN request, or when
  220. uploading a sent or draft message. It can
  221. also be set by a delivery agent. Once set,
  222. the flag SHOULD NOT be cleared.
  223. Melnikov & Cridland Standards Track [Page 6]
  224. RFC 5788 IMAP4 Keyword Registry March 2010
  225. Related keywords: None
  226. Related IMAP capabilities: None
  227. Security considerations: See Section 6 of [RFC3503]
  228. Published specification (recommended): [RFC3503]
  229. Person & email address to contact for further information:
  230. Alexey Melnikov <alexey.melnikov@isode.com>
  231. Intended usage: COMMON
  232. Owner/Change controller: IESG
  233. Note:
  234. 3.4.2. $Forwarded IMAP Keyword Registration
  235. Subject: Registration of the IMAP keyword $Forwarded
  236. IMAP keyword name: $Forwarded
  237. Purpose (description): $Forwarded is used by several IMAP clients to
  238. specify that the message was resent to
  239. another email address, embedded within or
  240. attached to a new message. This keyword is
  241. set by the mail client when it successfully
  242. forwards the message to another email
  243. address. Typical usage of this keyword is to
  244. show a different (or additional) icon for a
  245. message that has been forwarded.
  246. Private or Shared on a server: BOTH
  247. Is it an advisory keyword or may it cause an automatic action:
  248. advisory
  249. When/by whom the keyword is set/cleared:
  250. This keyword can be set by either a delivery
  251. agent or a mail client. Once set, the flag
  252. SHOULD NOT be cleared. Notes: There is no
  253. way to tell if a message with $Forwarded
  254. keyword set was forwarded more than once.
  255. Related keywords: None
  256. Related IMAP capabilities: None
  257. Melnikov & Cridland Standards Track [Page 7]
  258. RFC 5788 IMAP4 Keyword Registry March 2010
  259. Security considerations: A server implementing this keyword as a
  260. shared keyword may disclose that a
  261. confidential message was forwarded.
  262. Published specification (recommended): [RFC5550]
  263. Person & email address to contact for further information:
  264. Alexey Melnikov <alexey.melnikov@isode.com>
  265. Intended usage: COMMON
  266. Owner/Change controller: IESG
  267. Note:
  268. 3.4.3. $SubmitPending IMAP Keyword Registration
  269. Subject: Registration of IMAP keyword $SubmitPending
  270. IMAP keyword name: $SubmitPending
  271. Purpose (description): The $SubmitPending IMAP keyword designates
  272. the message as awaiting to be submitted.
  273. This keyword allows storing messages waiting
  274. to be submitted in the same mailbox where
  275. messages that were already submitted and/or
  276. are being edited are stored.
  277. A message that has both $Submitted and
  278. $SubmitPending IMAP keywords set is a message
  279. being actively submitted.
  280. Private or Shared on a server: SHARED
  281. Is it an advisory keyword or may it cause an automatic action:
  282. This keyword can cause automatic action by
  283. the client. See Section 5.10 of [RFC5550]
  284. for more details.
  285. When/by whom the keyword is set/cleared:
  286. This keyword is set by a mail client when it
  287. decides that the message needs to be sent
  288. out.
  289. Related keywords: $Submitted
  290. Related IMAP capabilities: None
  291. Melnikov & Cridland Standards Track [Page 8]
  292. RFC 5788 IMAP4 Keyword Registry March 2010
  293. Security considerations: A server implementing this keyword as a
  294. shared keyword may disclose that a
  295. confidential message is scheduled to be
  296. sent out or is being actively sent out.
  297. Published specification (recommended): [RFC5550]
  298. Person & email address to contact for further information:
  299. Alexey Melnikov <alexey.melnikov@isode.com>
  300. Intended usage: COMMON
  301. Owner/Change controller: IESG
  302. Note:
  303. 3.4.4. $Submitted IMAP Keyword Registration
  304. Subject: Registration of IMAP keyword $Submitted
  305. IMAP keyword name: $Submitted
  306. Purpose (description): The $Submitted IMAP keyword designates the
  307. message as being sent out.
  308. A message that has both $Submitted and
  309. $SubmitPending IMAP keywords set is a message
  310. being actively submitted.
  311. Private or Shared on a server: SHARED
  312. Is it an advisory keyword or may it cause an automatic action:
  313. This keyword can cause automatic action by
  314. the client. See Section 5.10 of [RFC5550]
  315. for more details.
  316. When/by whom the keyword is set/cleared:
  317. This keyword is set by a mail client when it
  318. decides to start sending it.
  319. Related keywords: $SubmitPending
  320. Related IMAP capabilities: None
  321. Security considerations: A server implementing this keyword as a
  322. shared keyword may disclose that a
  323. confidential message was sent or is being
  324. actively sent out.
  325. Melnikov & Cridland Standards Track [Page 9]
  326. RFC 5788 IMAP4 Keyword Registry March 2010
  327. Published specification (recommended): [RFC5550]
  328. Person & email address to contact for further information:
  329. Alexey Melnikov <alexey.melnikov@isode.com>
  330. Intended usage: COMMON
  331. Owner/Change controller: IESG
  332. Note:
  333. 4. Security Considerations
  334. IMAP keywords are one of the base IMAP features [RFC3501]. This
  335. document doesn't change their behavior, so it does not add new
  336. security issues.
  337. A particular IMAP keyword might have specific security
  338. considerations, which are documented in the IMAP keyword
  339. registration template standardized by this document.
  340. 5. Acknowledgements
  341. The creation of this document was prompted by one of many discussions
  342. on the IMAP mailing list.
  343. John Neystadt co-authored the first version of this document.
  344. Special thanks to Chris Newman, David Harris, Lyndon Nerenberg, Mark
  345. Crispin, Samuel Weiler, Alfred Hoenes, Lars Eggert, and Cullen
  346. Jennings for reviewing different versions of this document. However,
  347. all errors or omissions must be attributed to the authors of this
  348. document.
  349. The authors would also like to thank the developers of Mozilla mail
  350. clients for providing food for thought.
  351. 6. References
  352. 6.1. Normative References
  353. [Kwds] Bradner, S., "Key words for use in RFCs to Indicate
  354. Requirement Levels", BCP 14, RFC 2119, March 1997.
  355. [RFC3501] Crispin, M., "INTERNET MESSAGE ACCESS PROTOCOL - VERSION
  356. 4rev1", RFC 3501, March 2003.
  357. Melnikov & Cridland Standards Track [Page 10]
  358. RFC 5788 IMAP4 Keyword Registry March 2010
  359. [RFC5226] Narten, T. and H. Alvestrand, "Guidelines for Writing an
  360. IANA Considerations Section in RFCs", BCP 26, RFC 5226,
  361. May 2008.
  362. 6.2. Informative References
  363. [RFC3503] Melnikov, A., "Message Disposition Notification (MDN)
  364. profile for Internet Message Access Protocol (IMAP)",
  365. RFC 3503, March 2003.
  366. [RFC5550] Cridland, D., Melnikov, A., and S. Maes, "The Internet
  367. Email to Support Diverse Service Environments (Lemonade)
  368. Profile", RFC 5550, August 2009.
  369. Authors' Addresses
  370. Alexey Melnikov
  371. Isode Limited
  372. 5 Castle Business Village
  373. 36 Station Road
  374. Hampton, Middlesex TW12 2BX
  375. UK
  376. EMail: Alexey.Melnikov@isode.com
  377. URI: http://www.melnikov.ca/
  378. Dave Cridland
  379. Isode Limited
  380. 5 Castle Business Village
  381. 36 Station Road
  382. Hampton, Middlesex TW12 2BX
  383. UK
  384. EMail: dave.cridland@isode.com
  385. Melnikov & Cridland Standards Track [Page 11]