MBOX-Line: From daboo at isamet.com  Wed Sep  7 10:22:08 2005
To: imap-protocol@u.washington.edu
From: Cyrus Daboo <daboo@isamet.com>
Date: Fri Jun  8 12:34:36 2018
Subject: [Imap-protocol] SELECT of same mailbox
Message-ID: <8613FB1A1827570EC6B5150F@ninevah.cyrusoft.com>

Hi,

--On September 7, 2005 4:09:56 PM +0200 Arnt Gulbrandsen 
<arnt@gulbrandsen.priv.no> wrote:

>        The SELECT command automatically deselects any
>        currently selected mailbox before attempting the new selection.
>        Consequently, if a mailbox is selected and a SELECT command that
>        fails is attempted, no mailbox is selected.

What does 'fails' mean in this context? Does it mean both 'NO' and 'BAD' 
responses, or only 'NO'?

I ask because the CMU server remains in the previous selected state, if a 
subsequent SELECT results in a 'BAD' response. It correctly leaves selected 
state if a subsequent SELECT results in a 'NO'.


-- 
Cyrus Daboo

