Ryan Hughes wrote:
I saw that, too, but wasn't sure if it behaves the same, because a few lines further up if that parameter is true then it uses EXAMINE instead of SELECT. I haven't made it yet back to the RFC's to check in detail what the exact difference is between the two. If EXAMINE is OK for write operations as well, then that would be fine. But it sounds like it's intended for following read only operations only. I'll check it out...
Section 6.3.1...
If the client is not permitted to modify the mailbox but is permitted read access, the mailbox is selected as read-only, and the server MUST prefix the text of the tagged OK response to SELECT with the "[READ-ONLY]" response code. Read-only access through SELECT differs from the EXAMINE command in that certain read-only mailboxes MAY permit the change of permanent state on a per-user (as opposed to global) basis. Netnews messages marked in a server-based .newsrc file are an example of such per-user permanent state that can be modified with read-only mailboxes.
-Michel