--- 1/draft-ietf-extra-sieve-mailboxid-02.txt 2020-09-04 01:13:09.689233007 -0700 +++ 2/draft-ietf-extra-sieve-mailboxid-03.txt 2020-09-04 01:13:09.713233613 -0700 @@ -1,19 +1,19 @@ EXTRA B. Gondwana, Ed. Internet-Draft Fastmail -Updates: 5228 (if approved) September 3, 2020 +Updates: 5228 (if approved) September 4, 2020 Intended status: Standards Track -Expires: March 7, 2021 +Expires: March 8, 2021 Sieve Email Filtering: delivery by mailboxid - draft-ietf-extra-sieve-mailboxid-02 + draft-ietf-extra-sieve-mailboxid-03 Abstract The OBJECTID capability of the IMAP protocol (RFC8474) allows clients to identify mailboxes by a unique identifier which survives rename. This document extends the Sieve mail filtering language (RFC5228) to allow using that same unique identifier as a target for fileinto rules, and for testing the existance of mailboxes. @@ -25,21 +25,21 @@ Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at https://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." - This Internet-Draft will expire on March 7, 2021. + This Internet-Draft will expire on March 8, 2021. Copyright Notice Copyright (c) 2020 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/ license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights @@ -57,26 +57,27 @@ 4.1. Interaction with "mailbox" extension . . . . . . . . . . 4 4.2. Interaction with "specialuse" extension . . . . . . . . . 4 5. Interaction with "fcc" extension . . . . . . . . . . . . . . 5 6. Test "mailboxidexists" . . . . . . . . . . . . . . . . . . . 5 7. Interaction with variables extension . . . . . . . . . . . . 6 8. Formal Syntax . . . . . . . . . . . . . . . . . . . . . . . . 6 9. Security considerations . . . . . . . . . . . . . . . . . . . 6 10. IANA considerations . . . . . . . . . . . . . . . . . . . . . 7 11. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 7 12. Changes . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 - 12.1. draft-ietf-sieve-mailboxid-02 . . . . . . . . . . . . . 7 - 12.2. draft-ietf-sieve-mailboxid-01 . . . . . . . . . . . . . 7 - 12.3. draft-ietf-sieve-mailboxid-00 . . . . . . . . . . . . . 7 - 12.4. draft-gondwana-sieve-mailboxid-02 . . . . . . . . . . . 8 - 12.5. draft-gondwana-sieve-mailboxid-01 . . . . . . . . . . . 8 - 12.6. draft-gondwana-sieve-mailboxid-00 . . . . . . . . . . . 8 + 12.1. draft-ietf-sieve-mailboxid-03 . . . . . . . . . . . . . 7 + 12.2. draft-ietf-sieve-mailboxid-02 . . . . . . . . . . . . . 7 + 12.3. draft-ietf-sieve-mailboxid-01 . . . . . . . . . . . . . 7 + 12.4. draft-ietf-sieve-mailboxid-00 . . . . . . . . . . . . . 8 + 12.5. draft-gondwana-sieve-mailboxid-02 . . . . . . . . . . . 8 + 12.6. draft-gondwana-sieve-mailboxid-01 . . . . . . . . . . . 8 + 12.7. draft-gondwana-sieve-mailboxid-00 . . . . . . . . . . . 8 13. Normative References . . . . . . . . . . . . . . . . . . . . 8 14. Informative References . . . . . . . . . . . . . . . . . . . 9 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 9 1. Introduction [RFC5228] Sieve rules are sometimes created using graphical interfaces which allow users to select the mailbox to be used as a target for a rule. @@ -252,27 +253,26 @@ rather than mailbox names. 7. Interaction with variables extension There is no special interaction defined, however as an objectid is a string in this document, objectid values can contain variable expansions if [RFC5229] is enabled. 8. Formal Syntax - test /= "mailboxidexists" string-list - - tag /= ":mailboxid" string + test =/ "mailboxidexists" string-list - If [RFC8580] is supported: + tag =/ ":mailboxid" string FCC =/ [":mailboxid" ] + ; if [@RFC8580] is supported 9. Security considerations Because mailboxid is always generated by the server, implementations MUST NOT allow sieve to make an endrun around this protection by creating mailboxes with the specified ID by using ":create" and ":mailboxid" in a fileinto rule for a non-existant mailbox. Implementers are referred to the security considerations sections of [RFC5228] and [RFC8474]. @@ -298,36 +298,41 @@ mailboxexists test, and from [RFC8579] for an example of modifying the fileinto command. Thanks to Ned Freed and Ken Murchison and Alexey Melnikov for feedback on the EXTRA mailing list. 12. Changes (EDITOR: remove this section before publication) -12.1. draft-ietf-sieve-mailboxid-02 +12.1. draft-ietf-sieve-mailboxid-03 + + * Fixed ABNF syntax error + +12.2. draft-ietf-sieve-mailboxid-02 * removed bogus : from "mailboxidexists" test title * moved FCC to its own top-level section since it is not used with the fileinto command. -12.2. draft-ietf-sieve-mailboxid-01 +12.3. draft-ietf-sieve-mailboxid-01 * fixed idnits - RFC5228 not mentioned in the abstract * fixed other I-D references I had missed, oops -12.3. draft-ietf-sieve-mailboxid-00 +12.4. draft-ietf-sieve-mailboxid-00 * Adopted into working group per adoption call on list + * Updated references to old drafts which have since been published. * Fixed some typoes and simplified some language. * Removed stray leading colon on mailboxexists (thanks Alexey) * Added :fcc to the IANA registration description (thanks Alexey) * Mentioned that variables can be expanded (thanks Alexey) @@ -324,94 +329,93 @@ * Updated references to old drafts which have since been published. * Fixed some typoes and simplified some language. * Removed stray leading colon on mailboxexists (thanks Alexey) * Added :fcc to the IANA registration description (thanks Alexey) * Mentioned that variables can be expanded (thanks Alexey) -12.4. draft-gondwana-sieve-mailboxid-02 +12.5. draft-gondwana-sieve-mailboxid-02 * Update document date by a couple of years! Ooops, it got forgotten after a WGLC which got not dissent. * Create xml2rfc v3 output. -12.5. draft-gondwana-sieve-mailboxid-01 +12.6. draft-gondwana-sieve-mailboxid-01 * Switch to :mailboxid tagged parameter value with fallback mailbox name. * Document interaction with "mailbox". * Document interaction with "special-use". * Document interaction with "fcc". * Document security considerations around :mailboxid and :create. -12.6. draft-gondwana-sieve-mailboxid-00 +12.7. draft-gondwana-sieve-mailboxid-00 * Initial version. 13. Normative References + [RFC5228] Guenther, P., Ed. and T. Showalter, Ed., "Sieve: An Email + Filtering Language", RFC 5228, DOI 10.17487/RFC5228, + January 2008, . + [RFC8474] Gondwana, B., Ed., "IMAP Extension for Object Identifiers", RFC 8474, DOI 10.17487/RFC8474, September 2018, . [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, . [RFC2342] Gahrns, M. and C. Newman, "IMAP4 Namespace", RFC 2342, DOI 10.17487/RFC2342, May 1998, . - [RFC5228] Guenther, P., Ed. and T. Showalter, Ed., "Sieve: An Email - Filtering Language", RFC 5228, DOI 10.17487/RFC5228, - January 2008, . - [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017, . -14. Informative References + [RFC8580] Murchison, K. and B. Gondwana, "Sieve Extension: File + Carbon Copy (FCC)", RFC 8580, DOI 10.17487/RFC8580, May + 2019, . - [RFC3501] Crispin, M., "INTERNET MESSAGE ACCESS PROTOCOL - VERSION - 4rev1", RFC 3501, DOI 10.17487/RFC3501, March 2003, - . +14. Informative References [RFC4314] Melnikov, A., "IMAP4 Access Control List (ACL) Extension", RFC 4314, DOI 10.17487/RFC4314, December 2005, . [RFC5229] Homme, K., "Sieve Email Filtering: Variables Extension", RFC 5229, DOI 10.17487/RFC5229, January 2008, . [RFC5490] Melnikov, A., "The Sieve Mail-Filtering Language -- Extensions for Checking Mailbox Status and Accessing Mailbox Metadata", RFC 5490, DOI 10.17487/RFC5490, March 2009, . [RFC8579] Bosch, S., "Sieve Email Filtering: Delivering to Special- Use Mailboxes", RFC 8579, DOI 10.17487/RFC8579, May 2019, . - [RFC8580] Murchison, K. and B. Gondwana, "Sieve Extension: File - Carbon Copy (FCC)", RFC 8580, DOI 10.17487/RFC8580, May - 2019, . + [RFC3501] Crispin, M., "INTERNET MESSAGE ACCESS PROTOCOL - VERSION + 4rev1", RFC 3501, DOI 10.17487/RFC3501, March 2003, + . Author's Address Bron Gondwana (editor) Fastmail Level 2, 114 William St Melbourne VIC 3000 Australia - Email: brong@fastmailteam.com URI: https://www.fastmail.com