RFC 5182 · PROPOSED STANDARD · 2008

IMAP Extension for Referencing the Last SEARCH Result

Overview

RFC 5182, “IMAP Extension for Referencing the Last SEARCH Result”, is a Proposed Standard document published in March 2008 by A. Melnikov. It updates RFC 3501. The canonical text is published by the RFC Editor.

Abstract

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]

Abstract as published in the RFC, via rfc-editor.org.

What “Proposed Standard” means

An entry-level standards-track specification: stable, peer-reviewed and a solid basis for implementation, though it may still evolve before becoming an Internet Standard.

Read this RFC

The canonical text of RFC 5182 is hosted at rfc-editor.org. Available in TXT,HTML.

Relationships to other RFCs
This RFC updates
RFC 3501
Other RFCs from 2008

Who Is Online

In total there are 40 users online: 0 registered, 34 guests and 6 bots.

Most users ever online was 1,226 on 13 Jun 2026, 3:56 am.

Bots: AhrefsBot Applebot Facebook Other Bot Other Crawler SemrushBot

Users active in the past 15 minutes. Total registered members: 354