IMAP Extensions for Conditional STORE Operation or Quick Flag Changes Resynchronization (CONDSTORE) and Quick Mailbox Resynchronization (QRESYNC)
draft-ietf-qresync-rfc5162bis-04

The information below is for an old version of the document
Document Type Active Internet-Draft (qresync WG)
Last updated 2013-12-09
Replaces draft-melnikov-5162bis
Stream IETF
Intended RFC status (None)
Formats plain text pdf html
Stream WG state In WG Last Call
Document shepherd Eliot Lear
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Network Working Group                                        A. Melnikov
Internet-Draft                                                 Isode Ltd
Obsoletes: 4551, 5162 (if approved)                          D. Cridland
Updates: 4315, 3501, 2683 (if approved)                           Arcode
Intended status: Standards Track                        December 9, 2013
Expires: June 12, 2014

 IMAP Extensions for Conditional STORE Operation or Quick Flag Changes
   Resynchronization (CONDSTORE) and Quick Mailbox Resynchronization
                               (QRESYNC)
                  draft-ietf-qresync-rfc5162bis-04.txt

Abstract

   Often, multiple IMAP (RFC 3501) clients need to coordinate changes to
   a common IMAP mailbox.  Examples include different clients working on
   behalf of the same user, and multiple users accessing shared
   mailboxes.  These clients need a mechanism to synchronize state
   changes for messages within the mailbox.  They must be able to
   guarantee that only one client can change message state (e.g.,
   message flags of the specific message being looked up) at any time.
   An example of such an application is use of an IMAP mailbox as a
   message queue with multiple dequeueing clients.

   The Conditional Store facility provides a protected update mechanism
   for message state information that can detect and resolve conflicts
   between multiple writing mail clients.

   The Conditional Store facility also allows a client to quickly
   resynchronize mailbox flag changes.

   This document additionally defines another IMAP extension, which
   gives an IMAP client the ability to quickly resynchronize any
   previously opened mailbox as part of the SELECT command, without the
   need for server-side state or additional client round-trips.  This
   extension also introduces a new response that allows for a more
   compact representation of a list of expunged messages (and always
   includes the Unique Identifiers (UIDs) expunged).

Status of This Memo

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

Melnikov & Cridland       Expires June 12, 2014                 [Page 1]
Internet-Draft          IMAP CONDSTORE & QRESYNC           December 2013

   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 June 12, 2014.

Copyright Notice

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

Table of Contents

   1.  Introduction and Overview . . . . . . . . . . . . . . . . . .   3
   2.  Requirements Notation . . . . . . . . . . . . . . . . . . . .   6
   3.  IMAP Protocol Changes . . . . . . . . . . . . . . . . . . . .   7
     3.1.  CONDSTORE extension . . . . . . . . . . . . . . . . . . .   7
       3.1.1.  New OK Untagged Responses for SELECT and EXAMINE  . .   7
       3.1.2.  STORE and UID STORE Commands  . . . . . . . . . . . .   9
       3.1.3.  FETCH and UID FETCH Commands  . . . . . . . . . . . .  15
       3.1.4.  MODSEQ Search Criterion in SEARCH . . . . . . . . . .  18
       3.1.5.  Modified SEARCH Untagged Response . . . . . . . . . .  19
       3.1.6.  HIGHESTMODSEQ Status Data Items . . . . . . . . . . .  19
       3.1.7.  CONDSTORE Parameter to SELECT and EXAMINE . . . . . .  20
       3.1.8.  Interaction with IMAP SORT and THREAD extensions  . .  20
       3.1.9.  Interaction with IMAP ESORT and ESEARCH extensions  .  21
       3.1.10. Additional Quality-of-Implementation Issues . . . . .  21
       3.1.11. CONDSTORE Server Implementation Considerations  . . .  22
     3.2.  QRESYNC extension . . . . . . . . . . . . . . . . . . . .  23
       3.2.1.  Advertising support for QRESYNC . . . . . . . . . . .  23
       3.2.2.  Use of ENABLE . . . . . . . . . . . . . . . . . . . .  23
Show full document text