[Dovecot] Flags can be changed in read-only mode

Ron Avriel ravriel_1 at yahoo.com
Sun Mar 30 11:30:09 EEST 2008


Hi,

It seems that IMAP flags can be changed in EXAMINE read-only mode. Luckily, messages cannot be expunged.
This happens in both dovecot 1.0.12 and 1.1.rc3:

* OK Dovecot ready.
1 login *** ***
1 OK Logged in.
2 examine inbox
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* OK [PERMANENTFLAGS ()] Read-only mailbox.
* 1 EXISTS
* 1 RECENT
* OK [UNSEEN 1] First unseen.
* OK [UIDVALIDITY 1206865015] UIDs valid
* OK [UIDNEXT 2] Predicted next UID
2 OK [READ-ONLY] Select completed.
3 fetch 1:* flags
* 1 FETCH (FLAGS (\Recent))
3 OK Fetch completed.
4 store 1:* +flags (\Deleted)
* 1 FETCH (FLAGS (\Deleted \Recent))
4 OK Store completed.
5 fetch 1:* flags
* 1 FETCH (FLAGS (\Deleted \Recent))
5 OK Fetch completed.
6 expunge
6 OK Expunge completed.
7 fetch 1:* flags
* 1 FETCH (FLAGS (\Deleted \Recent))
7 OK Fetch completed.



Thanks,
Ron





      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ



More information about the dovecot mailing list