MBOX-Line: From petite_abeille at mac.com  Sun Nov  6 14:06:23 2011
To: imap-protocol@u.washington.edu
From: Petite Abeille <petite_abeille@mac.com>
Date: Fri Jun  8 12:34:47 2018
Subject: [Imap-protocol] [noob] select & unseen?
In-Reply-To: <alpine.BSO.2.00.1111062200200.19519@morgaine.smi.sendmail.com>
References: <C61A1BDF-03DD-4ED9-BFCA-C6183F07DD3E@mac.com>
	<20111106213124.GA27889@brong.net>
	<FC7BC111-BCF3-41CB-90E8-52980C306356@mac.com>
	<alpine.BSO.2.00.1111062200200.19519@morgaine.smi.sendmail.com>
Message-ID: <CC6741D6-AC71-409E-A9CD-E3E209BDDC92@mac.com>


On Nov 6, 2011, at 11:02 PM, Philip Guenther wrote:

> Live by the ABNF:
> 
> response-data   = "*" SP (resp-cond-state / resp-cond-bye /
>                  mailbox-data / message-data / capability-data) CRLF
> resp-cond-state = ("OK" / "NO" / "BAD") SP resp-text
> resp-text       = ["[" resp-text-code "]" SP] text
> text            = 1*TEXT-CHAR

Yes, I have been starring at this section and scratching my head... :)

> Ergo, the close bracket must be followed by a space and at least one other 
> character before the CRLF.  If it fails to do that, then it's not actually 
> a response code!

Fair enough. Out of curiosity, what's the intended purpose of that trailing text? Does any actual IMAP clients care?


