IMAP4 Extension for Returning MYRIGHTS Information in Extended LIST
RFC 8440

Document Type RFC - Proposed Standard (August 2018; No errata)
Last updated 2018-08-20
Replaces draft-murchison-imap-list-myrights
Stream IETF
Formats plain text pdf html bibtex
Reviews SECDIR, GENART will not review this version
Stream WG state Submitted to IESG for Publication
Document shepherd Jiankang Yao
Shepherd write-up Show (last changed 2018-04-28)
IESG IESG state RFC 8440 (Proposed Standard)
Consensus Boilerplate Yes
Telechat date
Responsible AD Alexey Melnikov
Send notices to Jiankang Yao <yaojk@cnnic.cn>;brong@fastmailstream.com;aamelnikov@fastmail.fm
IANA IANA review state IANA OK - Actions Needed
IANA action state RFC-Ed-Ack
Internet Engineering Task Force (IETF)                      K. Murchison
Request for Comments: 8440                                   B. Gondwana
Category: Standards Track                                       FastMail
ISSN: 2070-1721                                              August 2018

  IMAP4 Extension for Returning MYRIGHTS Information in Extended LIST

Abstract

   This document defines an extension to the Internet Message Access
   Protocol (IMAP) LIST command that allows the client to request the
   set of rights that the logged-in user has been granted on mailboxes,
   along with other information typically returned by the LIST command.

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 Section 2 of RFC 7841.

   Information about the current status of this document, any errata,
   and how to provide feedback on it may be obtained at
   https://www.rfc-editor.org/info/rfc8440.

Copyright Notice

   Copyright (c) 2018 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 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.

Murchison & Gondwana         Standards Track                    [Page 1]
RFC 8440                   IMAP LIST-MYRIGHTS                August 2018

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Conventions Used in This Document . . . . . . . . . . . . . .   2
   3.  MYRIGHTS Return Option to LIST Command  . . . . . . . . . . .   2
   4.  Examples  . . . . . . . . . . . . . . . . . . . . . . . . . .   3
   5.  Formal Syntax . . . . . . . . . . . . . . . . . . . . . . . .   4
   6.  Security Considerations . . . . . . . . . . . . . . . . . . .   4
   7.  Privacy Considerations  . . . . . . . . . . . . . . . . . . .   4
   8.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   4
     8.1.  Registration of IMAP Capability LIST-MYRIGHTS . . . . . .   4
     8.2.  Registration of LIST-EXTENDED Option MYRIGHTS . . . . . .   4
   9.  References  . . . . . . . . . . . . . . . . . . . . . . . . .   5
     9.1.  Normative References  . . . . . . . . . . . . . . . . . .   5
     9.2.  Informative References  . . . . . . . . . . . . . . . . .   6
   Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . .   6
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .   6

1.  Introduction

   IMAP [RFC3501] clients typically fetch the set of rights granted on
   mailboxes so they can expose the allowed functionality to the logged-
   in user.  In order to do that, the client is forced to issue a LIST
   or LSUB command to list all available mailboxes, followed by a
   MYRIGHTS command for each mailbox found.  This document defines an
   extension to the to IMAP LIST command that is identified by the
   capability string "LIST-MYRIGHTS".  The LIST-MYRIGHTS extension
   allows the client to request the set of rights that the logged-in
   user has been granted on mailboxes, along with other information
   typically returned by the LIST command.

2.  Conventions Used in This Document

   In examples, "C:" indicates lines sent by a client that is connected
   to a server.  "S:" indicates lines sent by the server to the client.

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
   "OPTIONAL" in this document are to be interpreted as described in
   BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all
   capitals, as shown here.

3.  MYRIGHTS Return Option to LIST Command

   [RFC4314] defines the MYRIGHTS command, which is used by an IMAP
   client to determine the set of rights that the logged-in user has
   been granted on a given mailbox.  Frequently, a client will have to
   look up the rights for some or all of the mailboxes returned by the

Murchison & Gondwana         Standards Track                    [Page 2]
RFC 8440                   IMAP LIST-MYRIGHTS                August 2018

   LIST command.  Doing so in multiple MYRIGHTS commands wastes
   bandwidth and can degrade performance if the client does not pipeline
Show full document text