IMAP REPLACE Extension
draft-brandt-imap-replace-01

The information below is for an old version of the document
Document Type Active Internet-Draft (individual)
Last updated 2015-07-20
Replaced by draft-ietf-extra-imap-replace, rfc8508
Stream (None)
Intended RFC status (None)
Formats pdf htmlized bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Network Working Group                                          S. Brandt
Internet-Draft                                                       AOL
Intended status: Standards Track                           July 20, 2015
Expires: January 21, 2016

                         IMAP REPLACE Extension
                      draft-brandt-imap-replace-01

Abstract

   This document defines an IMAP extension which can be used to replace
   an existing message in a message store with a new message.  Message
   replacement is a common operation for clients that automatically save
   drafts or notes as a user composes them.

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 January 21, 2016.

Copyright Notice

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

Brandt                  Expires January 21, 2016                [Page 1]
Internet-Draft           IMAP REPLACE Extension                July 2015

Table of Contents

   1.  Conventions Used in This Document . . . . . . . . . . . . . .   2
   2.  Overview  . . . . . . . . . . . . . . . . . . . . . . . . . .   2
   3.  REPLACE and UID REPLACE . . . . . . . . . . . . . . . . . . .   3
     3.1.  Advertising Support for REPLACE . . . . . . . . . . . . .   3
     3.2.  REPLACE Command . . . . . . . . . . . . . . . . . . . . .   3
     3.3.  UID REPLACE Command . . . . . . . . . . . . . . . . . . .   4
     3.4.  Semantics of REPLACE and UID REPLACE  . . . . . . . . . .   4
     3.5.  IMAP State Diagram Impacts  . . . . . . . . . . . . . . .   5
   4.  Interaction with other extensions . . . . . . . . . . . . . .   5
     4.1.  RFC 4314, ACL . . . . . . . . . . . . . . . . . . . . . .   5
     4.2.  RFC 4469, CATENATE  . . . . . . . . . . . . . . . . . . .   6
     4.3.  RFC 4315, UIDPLUS . . . . . . . . . . . . . . . . . . . .   8
     4.4.  RFC 6785, IMAP Events in Sieve  . . . . . . . . . . . . .   8
     4.5.  RFC 7162, CONDSTORE/QRESYNC . . . . . . . . . . . . . . .   8
   5.  Formal Syntax . . . . . . . . . . . . . . . . . . . . . . . .   8
   6.  Security Considerations . . . . . . . . . . . . . . . . . . .   9
   7.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   9
   8.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .   9
   9.  References  . . . . . . . . . . . . . . . . . . . . . . . . .   9
     9.1.  Normative References  . . . . . . . . . . . . . . . . . .   9
     9.2.  Informative References  . . . . . . . . . . . . . . . . .  10
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .  10

1.  Conventions Used in This Document

   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 [RFC2119].

   Formal syntax is defined by [RFC5234].

   Example lines prefaced by "C:" are sent by the client and ones
   prefaced by "S:" by the server.

2.  Overview

   This document defines an IMAP [RFC3501] extension to facilitate
   replacing an existing message with a new one.  This is accomplished
   by defining a new REPLACE command and extending the UID command to
   allow UID REPLACE.

   Since there is no replace function in the base IMAP specification,
   clients have instead had to use a combination of three separate
   commands issued in serial fashion; APPEND, STORE, EXPUNGE.
   Pipelining of these three commands is not recommended since failure

Brandt                  Expires January 21, 2016                [Page 2]
Internet-Draft           IMAP REPLACE Extension                July 2015

   of any individual command should prevent subsequent commands from
   being executed lest the original message version be lost.
Show full document text