[issue13446] imaplib, fetch: improper behaviour on read-only selected mailboxes

2011-11-21 Thread Charalampos Nikolaou
New submission from Charalampos Nikolaou : I would like to report a misbehaviour on the fetch command of imaplib when used with mailboxes that have been opened as read-only. In such cases, when you fetch a message (using for instance RFC822), the mail is not marked as read (i.e., the flag of t

[issue13446] imaplib, fetch: improper behaviour on read-only selected mailboxes

2011-11-23 Thread Charalampos Nikolaou
Charalampos Nikolaou added the comment: Hi, actually I must have found the real culprit. And this is that imaplib does not include a function for the "EXAMINE" command. What it does is that when a user selects a mailbox as readonly, it executes an EXAMINE command instead of a SELEECT command,