Recently one of our customers migrating to one of our servers discovered
that another IMAP server had some interesting (mis)interpretations of
the IMAP spec. I'd like to get a clarficiation and perhaps badger the
unnamed into making a change.
(1) The \Seen flag was changed by "FETCH [seq] (FLAGS BODY[]
INTERNALDATE)" while the mailbox was being EXAMINEd. \Seen is not
advertised in PERMANENTFLAGS in EXAMINE, but the change appears
permanent.
(2) "FETCH [seq] (FLAGS BODY[] FLAGS)" returns a FETCH response with the
obvious three items in that order. The first FLAGS is (). The
second flags is (\Seen). No implicit FLAGS response is returned in
this case under either SELECT or EXAINE.
(3) As an extra bonus, I'm not sure how to turn \Seen flags off. STORE
[seq] -FLAGS (\Seen) seems like it ought to work, but it doesn't.
Well, the server claims it does, but the flags are immediately
re-set.
A workaround for the first two this is to BODY.PEEK[] even in EXAMINE
mode, or to send FLAGS before BODY[]. Either would have worked around
the bug, but only the former would have avoided changing \Seen.
Potential workarounds for (3) are more drastic.
Thanks!
Tim
--
-----------------------------------------------------------------
For information about this mailing list, and its archives, see:
http://www.washington.edu/imap/imap-list.html
-----------------------------------------------------------------