On Sat, 2007-12-01 at 23:42 -0800, Mark Crispin wrote:
> On Sun, 2 Dec 2007, Timo Sirainen wrote:
> > I see that when adding a new keyword, most servers
send:
> > * FLAGS (hello Answered Flagged Deleted Draft
Seen)
> > * OK [PERMANENTFLAGS (hello * Answered Flagged
Deleted Draft Seen)] Permanent flags
> > before sending the FETCH FLAGS:
> > * 1 FETCH (FLAGS (hello))
>
> This confirms the creation of the flag and whether or
not it is a
> permanent flag. It needs to be sent.
How about when keywords are removed? Is this valid:
1 fetch 1 flags
* 1 FETCH (FLAGS (Seen hello))
1 ok
[[ here another connection expunges message 1 ]]
2 fetch 2 flags
* 2 FETCH (FLAGS ())
* FLAGS (Answered Flagged Deleted Draft Seen)
* OK [PERMANENTFLAGS (* Answered Flagged Deleted Draft
Seen)] Permanent flags
2 ok
This session still sees that message 1 contains
"hello", but it's no
longer in FLAGS. Should the server instead have sent:
* 1 FETCH (FLAGS (Seen))
* 2 FETCH (FLAGS ())
* FLAGS ...
* OK [PERMANENTFLAGS ..
(Or just avoided sending FLAGS/PERMANENTFLAGS until message
1 was seen
expunged.)
_______________________________________________
Imap-protocol mailing list
Imap-protocol u.washington.edu
https://mailman1.u.washington.edu/mailman/listin
fo/imap-protocol
|