Internet Message Access Protocol (IMAP) - STATUS=SIZE Extension
draft-bosch-imap-status-size-00

Document Type Active Internet-Draft (extra WG)
Last updated 2017-11-20 (latest revision 2017-09-15)
Stream IETF
Intended RFC status (None)
Formats plain text xml pdf html bibtex
Stream WG state WG Document
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
Network Working Group                                           S. Bosch
Internet-Draft                                                Dovecot Oy
Intended status: Standards Track                      September 15, 2017
Expires: March 19, 2018

    Internet Message Access Protocol (IMAP) - STATUS=SIZE Extension
                    draft-bosch-imap-status-size-00

Abstract

   This document adds a new capability called "STATUS=SIZE" to the
   Internet Message Access Protocol (IMAP).  It allows retrieving the
   total storage size of a mailbox with a single STATUS command rather
   than retrieving and summing the sizes of all individual messages in
   that mailbox.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   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 http://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 19, 2018.

Copyright Notice

   Copyright (c) 2017 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
   (http://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.

Bosch                    Expires March 19, 2018                 [Page 1]
Internet-Draft        IMAP - STATUS=SIZE Extension        September 2017

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Conventions Used in This Document . . . . . . . . . . . . . .   2
   3.  STATUS Command and Response Extensions  . . . . . . . . . . .   3
   4.  Formal Syntax . . . . . . . . . . . . . . . . . . . . . . . .   4
   5.  Security Considerations . . . . . . . . . . . . . . . . . . .   4
   6.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   4
   7.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .   4
   8.  References  . . . . . . . . . . . . . . . . . . . . . . . . .   4
     8.1.  Normative References  . . . . . . . . . . . . . . . . . .   4
     8.2.  Informative References  . . . . . . . . . . . . . . . . .   5
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .   5

1.  Introduction

   This document extends Internet Message Access Protocol (IMAP)
   [IMAP4rev1] with a new capability called "STATUS=SIZE".  To determine
   the total storage size of a mailbox, an IMAP client currently needs
   to retrieve all message sizes individually using the FETCH command
   with the RFC822.SIZE data item.  The "STATUS=SIZE" capability
   provides a more efficient means to achieve this.  It extends the
   STATUS command with a new "SIZE" data item, which indicates the total
   size of all messages in the target mailbox.  This way, this
   information can be queried with just one STATUS command.  When the
   "LIST-STATUS" IMAP capability [LIST-STATUS] is also available, the
   SIZE data item can be queried for many mailboxes at once using just
   one LIST command.

   This capability is particularly useful for IMAP clients that do not
   cache the state of the message store, such as most webmail clients.
   Without the "STATUS=SIZE" capability, such clients need to fetch all
   message sizes from the server when the size of a mailbox needs to be
   determined, for example when the user requests detailed quota usage
   information.  The "QUOTA" capability [QUOTA] is no help in that
   scenario, since the provided QUOTAROOT command can only yield the
   "STORAGE" resource usage of a whole quota root, but not for a single
   mailbox within that root.

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", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in [KEYWORDS].

Bosch                    Expires March 19, 2018                 [Page 2]
Internet-Draft        IMAP - STATUS=SIZE Extension        September 2017
Show full document text