Browse Prior Art Database

Internet Message Access Protocol (IMAP) UNSELECT command (RFC3691)

IP.com Disclosure Number: IPCOM000022022D
Original Publication Date: 2004-Feb-01
Included in the Prior Art Database: 2004-Feb-19
Document File: 6 page(s) / 9K

Publishing Venue

Internet Society Requests For Comment (RFCs)

Related People

A. Melnikov: AUTHOR

Abstract

This document defines an UNSELECT command that can be used to close the current mailbox in an Internet Message Access Protocol - version 4 (IMAP4) session without expunging it. Certain types of IMAP clients need to release resources associated with the selected mailbox without selecting a different mailbox. While IMAP4 provides this functionality (via a SELECT command with a nonexistent mailbox name or reselecting the same mailbox with EXAMINE command), a more clean solution is desirable.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 40% of the total text.

Network Working Group A. Melnikov

Request for Comments: 3691 Isode Ltd.

Category: Standards Track February 2004

Internet Message Access Protocol (IMAP) UNSELECT command

Status of this Memo

This document specifies an Internet standards track protocol for the

Internet community, and requests discussion and suggestions for

improvements. Please refer to the current edition of the "Internet

Official Protocol Standards" (STD 1) for the standardization state

and status of this protocol. Distribution of this memo is unlimited.

Copyright Notice

Copyright (C) The Internet Society (2004). All Rights Reserved.

Abstract

This document defines an UNSELECT command that can be used to close

the current mailbox in an Internet Message Access Protocol - version

4 (IMAP4) session without expunging it. Certain types of IMAP

clients need to release resources associated with the selected

mailbox without selecting a different mailbox. While IMAP4 provides

this functionality (via a SELECT command with a nonexistent mailbox

name or reselecting the same mailbox with EXAMINE command), a more

clean solution is desirable.

Table of Contents

1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 2

2. UNSELECT command . . . . . . . . . . . . . . . . . . . . . . . 2

3. Security Considerations. . . . . . . . . . . . . . . . . . . . 3

4. Formal Syntax. . . . . . . . . . . . . . . . . . . . . . . . . 3

5. IANA Considerations. . . . . . . . . . . . . . . . . . . . . . 3

6. Acknowledgments. . . . . . . . . . . . . . . . . . . . . . . . 3

7. Normative References . . . . . . . . . . . . . . . . . . . . . 4

8. Author's Address . . . . . . . . . . . . . . . . . . . . . . . 4

9. Full Copyright Statement . . . . . . . . . . . . . . . . . . . 5

Melnikov Standards Track [Page 1]

RFC 3691 IMAP UNSELECT command February 2004

1. Introduction

Certain types of IMAP clients need to release resources associated

with the selected mailbox without selecting a different mailbox.

While [IMAP4] provides this functionality (via a SELECT command with

a nonexistent mailbox name or reselecting the same mailbox with

EXAMINE command), a more clean solution is desirable.

[IMAP4] defines the CLOSE command that closes the selected mailbox as

well as permanently removes all messages with the \Deleted flag set.

However [IMAP4] lacks a command that simply closes the mailbox

without expunging it. This document defines the UNSELECT command for

this purpose.

A server which supports this extension indicates this with a

capability name of "UNSELECT".

"C:" and "S:" in examples show lines sent by the client and server

respectively.

The keywords "MUST", "MUST NOT", "SHOULD", "SHOULD NOT", and "MAY" in

this document when typed in uppercase are to be interpreted as

defined in "Key words for use in RFCs to Indicate Requirement Levels"

[KEYWORDS].

2. UNSELECT Command

Arguments: none

Responses: no specific responses for this command

Result: OK - unselect completed, now in authenticated state

BAD - no mailbox selecte...