Skip to main content

IMAP Extension for Referencing the Last SEARCH Result
RFC 5182

Revision differences

Document history

Date Rev. By Action
2018-12-20
07 (System)
Received changes through RFC Editor sync (changed abstract to 'Many IMAP clients use the result of a SEARCH command as the input to perform another …
Received changes through RFC Editor sync (changed abstract to 'Many IMAP clients use the result of a SEARCH command as the input to perform another operation, for example, fetching the found messages, deleting them, or copying them to another mailbox.

This can be achieved using standard IMAP operations described in RFC 3501; however, this would be suboptimal. The server will send the list of found messages to the client; after that, the client will have to parse the list, reformat it, and send it back to the server. The client can't pipeline the SEARCH command with the subsequent command, and, as a result, the server might not be able to perform some optimizations.

This document proposes an IMAP extension that allows a client to tell a server to use the result of a SEARCH (or Unique Identifier (UID) SEARCH) command as an input to any subsequent command. [STANDARDS-TRACK]')
2015-10-14
07 (System) Notify list changed from alexey.melnikov@isode.com to (None)
2012-08-22
07 (System) post-migration administrative database adjustment to the No Objection position for Russ Housley
2008-03-25
07 Amy Vezza State Changes to RFC Published from RFC Ed Queue by Amy Vezza
2008-03-25
07 Amy Vezza [Note]: 'RFC 5182' added by Amy Vezza
2008-03-21
07 (System) RFC published
2008-02-27
07 Amy Vezza State Changes to RFC Ed Queue from Approved-announcement sent by Amy Vezza
2008-02-26
07 (System) IANA Action state changed to RFC-Ed-Ack from Waiting on RFC Editor
2008-02-26
07 (System) IANA Action state changed to Waiting on RFC Editor from In Progress
2008-02-26
07 (System) IANA Action state changed to In Progress from Waiting on Authors
2008-02-25
07 (System) IANA Action state changed to Waiting on Authors from In Progress
2008-02-25
07 (System) IANA Action state changed to In Progress
2008-02-25
07 Amy Vezza IESG state changed to Approved-announcement sent
2008-02-25
07 Amy Vezza IESG has approved the document
2008-02-25
07 Amy Vezza Closed "Approve" ballot
2008-02-21
07 Cindy Morgan State Changes to Approved-announcement to be sent from IESG Evaluation by Cindy Morgan
2008-02-21
07 (System) [Ballot Position Update] New position, No Objection, has been recorded for Jon Peterson by IESG Secretary
2008-02-21
07 Jari Arkko
[Ballot comment]
Christian Vogt's review:

This document specifies an IMAP extension that calls for servers to store search results in a way referable by clients …
[Ballot comment]
Christian Vogt's review:

This document specifies an IMAP extension that calls for servers to store search results in a way referable by clients in subsequent requests.

The document is ready for publication once the issues described below has been addressed.  The document clearly motivates the proposed IMAP extension, specifies it in an understandable manner, and accompanies this with a rich set of examples.

Two issues need to be addressed, however:

- Overall:  For how long should a server store a given search result?  The current document does not talk about state expiry.  State expiry is important to address, however, given the large amount of memory that is potentially needed to hold a search result.

I would specifically suggest to let the state expiry interval be determined by the server.  This enables the server to discard search results earlier when memory availability is low.  Reduction in state expiry intervals may also be used as a defense against DoS (and hence should mentioned in the security considerations).

- Section 2.1, 3rd paragraph:  What is the format in which lists are stored?  This paragraph may refer to a data type from the IMAP specification to be more specific.
2008-02-21
07 Ross Callon [Ballot Position Update] New position, No Objection, has been recorded by Ross Callon
2008-02-20
07 Ron Bonica [Ballot Position Update] New position, No Objection, has been recorded by Ron Bonica
2008-02-20
07 Mark Townsley [Ballot Position Update] New position, No Objection, has been recorded by Mark Townsley
2008-02-20
07 Magnus Westerlund [Ballot Position Update] New position, No Objection, has been recorded by Magnus Westerlund
2008-02-20
07 (System) State Changes to IESG Evaluation from IESG Evaluation - Defer by system
2008-02-08
07 (System) Removed from agenda for telechat - 2008-02-07
2008-02-07
07 Ross Callon State Changes to IESG Evaluation - Defer from IESG Evaluation by Ross Callon
2008-02-07
07 (System) [Ballot Position Update] Position for Russ Housley has been changed to No Objection from Discuss by IESG Secretary
2008-02-07
07 (System) [Ballot Position Update] Position for Russ Housley has been changed to Discuss from No Objection by IESG Secretary
2008-02-07
07 Russ Housley [Ballot Position Update] Position for Russ Housley has been changed to No Objection from Discuss by Russ Housley
2008-02-07
07 (System) [Ballot Position Update] New position, No Objection, has been recorded for Cullen Jennings by IESG Secretary
2008-02-07
07 (System) [Ballot Position Update] Position for Russ Housley has been changed to Discuss from No Objection by IESG Secretary
2008-02-07
07 Russ Housley [Ballot Position Update] Position for Russ Housley has been changed to No Objection from Discuss by Russ Housley
2008-02-07
07 Russ Housley
[Ballot discuss]
The Gen-ART Review by Spencer Dawkins of draft -06.  Since there was
  no reply to the Gen-ART Review, it is difficult to …
[Ballot discuss]
The Gen-ART Review by Spencer Dawkins of draft -06.  Since there was
  no reply to the Gen-ART Review, it is difficult to tell if the changes
  made to generate draft -07 were to address the concerns raised in the
  Gen-ART Review or other comments.  I've asked Spencer to take a look,
  but I have not heard back from him yet.  The Gen-ART Review can be
  found at:

    http://www.alvestrand.no/ietf/gen/reviews/
    draft-melnikov-imap-search-res-06-dawkins.txt
2008-02-07
07 Russ Housley [Ballot Position Update] New position, Discuss, has been recorded by Russ Housley
2008-02-07
07 Dan Romascanu [Ballot Position Update] New position, No Objection, has been recorded by Dan Romascanu
2008-02-07
07 Lars Eggert [Ballot Position Update] New position, No Objection, has been recorded by Lars Eggert
2008-02-06
07 Jari Arkko [Ballot Position Update] New position, No Objection, has been recorded by Jari Arkko
2008-02-06
07 Lisa Dusseault [Ballot Position Update] New position, No Objection, has been recorded by Lisa Dusseault
2008-02-05
07 Tim Polk
[Ballot comment]
Does the implementation note in section 2.1 mean that implementors are required to
convert a message sequence to a UID sequence, and vice …
[Ballot comment]
Does the implementation note in section 2.1 mean that implementors are required to
convert a message sequence to a UID sequence, and vice versa?  If this is mandatory
to implement, perhaps a statement in the normative text would be worth adding...
2008-02-05
07 Tim Polk [Ballot Position Update] New position, No Objection, has been recorded by Tim Polk
2008-01-31
07 Chris Newman [Ballot Position Update] New position, Yes, has been recorded for Chris Newman
2008-01-31
07 Chris Newman Ballot has been issued by Chris Newman
2008-01-31
07 Chris Newman Created "Approve" ballot
2008-01-31
07 Chris Newman State Changes to IESG Evaluation from Waiting for AD Go-Ahead::AD Followup by Chris Newman
2008-01-31
07 Chris Newman Placed on agenda for telechat - 2008-02-07 by Chris Newman
2008-01-28
07 (System) Sub state has been changed to AD Follow up from New Id Needed
2008-01-28
07 (System) New version available: draft-melnikov-imap-search-res-07.txt
2008-01-13
07 Chris Newman State Changes to Waiting for AD Go-Ahead::Revised ID Needed from Waiting for AD Go-Ahead by Chris Newman
2008-01-13
07 Chris Newman Unless I hear otherwise from the author, I am awaiting a new version
addressing the last call comments from Spencer's gen-art review.
2008-01-12
07 (System) State has been changed to Waiting for AD Go-Ahead from In Last Call by system
2007-12-20
07 Samuel Weiler Request for Last Call review by SECDIR is assigned to Love Astrand
2007-12-20
07 Samuel Weiler Request for Last Call review by SECDIR is assigned to Love Astrand
2007-12-18
07 Amanda Baber
IANA Last Call comments:


Upon approval of this document, the IANA will make the following
assignments in the "IMAP Capabilities Registry" registry located at
http://www.iana.org/assignments/imap4-capabilities …
IANA Last Call comments:


Upon approval of this document, the IANA will make the following
assignments in the "IMAP Capabilities Registry" registry located at
http://www.iana.org/assignments/imap4-capabilities

Capability Name + Reference
-------- + ---------
SEARCH-RES + [RFC-melnikov-imap-search-res-06]

We understand the above to be the only IANA Action for this
document.
2007-12-15
07 Amy Vezza Last call sent
2007-12-15
07 Amy Vezza State Changes to In Last Call from Last Call Requested by Amy Vezza
2007-12-15
07 Chris Newman State Changes to Last Call Requested from Publication Requested::AD Followup by Chris Newman
2007-12-15
07 Chris Newman Last Call was requested by Chris Newman
2007-12-15
07 (System) Ballot writeup text was added
2007-12-15
07 (System) Last call text was added
2007-12-15
07 (System) Ballot approval text was added
2007-12-15
07 Chris Newman State Changes to Publication Requested::AD Followup from Publication Requested::External Party by Chris Newman
2007-12-15
07 Chris Newman
Write-up from author:

  (1.b)  Has the document had adequate review both from key WG members
          and from key non-WG …
Write-up from author:

  (1.b)  Has the document had adequate review both from key WG members
          and from key non-WG members?  Does the Document Shepherd have
          any concerns about the depth or breadth of the reviews that
          have been performed?

This document was reviewed by several active and experienced IMAPEXT WG
members.
So there are no concerns about the depth of the reviews.

  (1.c)  Does the Document Shepherd have concerns that the document
          needs more review from a particular or broader perspective,
          e.g., security, operational complexity, someone familiar with
          AAA, internationalization or XML?

No concerns.

  (1.d)  Does the Document Shepherd have any specific concerns or
          issues with this document that the Responsible Area Director
          and/or the IESG should be aware of?  For example, perhaps he
          or she is uncomfortable with certain parts of the  document, or
          has concerns whether there really is a need for it.  In any
          event, if the WG has discussed those issues and has indicated
          that it still wishes to advance the document, detail those
          concerns here.  Has an IPR disclosure related to this  document
          been filed?  If so, please include a reference to the
          disclosure and summarize the WG discussion and conclusion on
          this issue.

No specific concerns. No IPR disclosure was filed for this document.

  (1.e)  How solid is the WG consensus behind this document?  Does it
          represent the strong concurrence of a few individuals, with
          others being silent, or does the WG as a whole understand and
          agree with it?

This document is an individual submission.

  (1.f)  Has anyone threatened an appeal or otherwise indicated  extreme
          discontent?  If so, please summarise the areas of conflict in
          separate email messages to the Responsible Area Director.  (It
          should be in a separate email because this questionnaire is
          entered into the ID Tracker.)
No.

  (1.g)  Has the Document Shepherd personally verified that the
          document satisfies all ID nits?  (See
          http://www.ietf.org/ID-Checklist.html and
          http://tools.ietf.org/tools/idnits/).  Boilerplate checks are
          not enough; this check needs to be thorough.  Has the  document
          met all formal review criteria it needs to, such as the MIB
          Doctor, media type and URI type reviews?

Yes. IDnits 2.02.2 returns one experimental warning, which is due to use
of IMAP response
code, and thus is not an error. There is also a warning about missing
page separators, which
can be fixed by an RFC editor.

  (1.h)  Has the document split its references into normative and
          informative?  Are there normative references to documents  that
          are not ready for advancement or are otherwise in an unclear
          state?  If such normative references exist, what is the
          strategy for their completion?  Are there normative  references
          that are downward references, as described in [RFC3967]?  If
          so, list these downward references to support the Area
          Director in the Last Call procedure for them [RFC3967].

Yes, references are properly split. There are no downward normative
references.
All normative references are to documents which are already RFCs.
One informative reference points to an IMAPEXT WG draft, which is in
IESG evaluation now.

  (1.i)  Has the Document Shepherd verified that the document IANA
          consideration section exists and is consistent with the body
          of the document?  If the document specifies protocol
          extensions, are reservations requested in appropriate IANA
          registries?  Are the IANA registries clearly identified?  If
          the document creates a new registry, does it define the
          proposed initial contents of the registry and an allocation
          procedure for future registrations?  Does it suggest a
          reasonable name for the new registry?  See [RFC2434].  If the
          document describes an Expert Review process has Shepherd
          conferred with the Responsible Area Director so that the IESG
          can appoint the needed Expert during the IESG Evaluation?

IANA considerations section exists and is clearly defined.

  (1.j)  Has the Document Shepherd verified that sections of the
          document that are written in a formal language, such as XML
          code, BNF rules, MIB definitions, etc., validate correctly in
          an automated checker?

ABNF from the document passes Bill Fenner's ABNF validation tool.

  (1.k)  The IESG approval announcement includes a Document
          Announcement Write-Up.  Please provide such a Document
          Announcement Write-Up?  Recent examples can be found in the
          "Action" announcements for approved documents.  The approval
          announcement contains the following sections:

          Technical Summary
            Relevant content can frequently be found in the abstract
            and/or introduction of the document.  If not, this may be
            an indication that there are deficiencies in the abstract
            or introduction.

  Many IMAP clients use the result of a SEARCH command as the input to
  perform another operation, for example fetching the found messages,
  deleting them, copying them to another mailbox or performing a
  subsearch on the found messages.

  This can be achieved using standard IMAP operations described in RFC
  3501
, however this would be suboptimal: the server will send the list
  of found messages to the client, after that the client will have to
  parse the list, reformat it and send it back to the server.  As the
  result, the client can't pipeline the SEARCH command with the
  subsequent command.

  This document proposes an IMAP extension that allows a client to tell
  a server to use the result of a SEARCH (or UID SEARCH)
  command as an input to a subsequent command.

          Working Group Summary
            Was there anything in WG process that is worth noting?  For
            example, was there controversy about particular points or
            were there decisions where the consensus was particularly
            rough?

This document is an individual submission.

          Document Quality
            Are there existing implementations of the protocol?  Have a
            significant number of vendors indicated their plan to
            implement the specification?  Are there any reviewers that
            merit special mention as having done a thorough review,
            e.g., one that resulted in important changes or a
            conclusion that the document had no substantive  issues?  If
            there was a MIB Doctor, Media Type or other expert review,
            what was its course (briefly)?  In the case of a Media  Type
            review, on what date was the request posted?

There are already 2 server implementations of this document. At least
one more client and server vendor is interested in implementing the specification.

          Personnel
            Who is the Document Shepherd for this document?  Who is  the
            Responsible Area Director?

Alexey Melnikov  is the document shepherd for
this document. Chris Newman is the responsible Area Director.
2007-12-15
07 Chris Newman Intended Status has been changed to Proposed Standard from Experimental
2007-12-15
07 Chris Newman [Note]: 'AD is shepherding.' added by Chris Newman
2007-12-14
06 (System) New version available: draft-melnikov-imap-search-res-06.txt
2007-12-02
07 Chris Newman State Changes to Publication Requested::External Party from Publication Requested::AD Followup by Chris Newman
2007-12-02
07 Chris Newman Send AD review feedback to author, waiting for go-ahead from author.
2007-03-30
07 Chris Newman proto-writeup received
2007-03-30
07 Chris Newman Draft Added by Chris Newman in state Publication Requested
2007-02-16
05 (System) New version available: draft-melnikov-imap-search-res-05.txt
2006-11-28
04 (System) New version available: draft-melnikov-imap-search-res-04.txt
2006-06-02
03 (System) New version available: draft-melnikov-imap-search-res-03.txt
2005-06-01
02 (System) New version available: draft-melnikov-imap-search-res-02.txt
2005-02-03
01 (System) New version available: draft-melnikov-imap-search-res-01.txt
2004-10-18
00 (System) New version available: draft-melnikov-imap-search-res-00.txt