Re: [Imap-protocol] Courier bug(?)

Alexey Melnikov <[email protected]>
Newsgroups gmane.mail.imap.general
Message-ID <[email protected]>
On 24/01/2013 15:51, Barry Leiba wrote:
>> Assuming it was unilaterally sent FETCH and not a normal reply for
>> setting the \Seen flag by UID FETCH BODY[], I agree.
> I contend that it doesn't matter *why* the server sent the flags
> response.

Indeed.

> The flag change was caused by the FETCH BODY, but the fact
> is that your UID FETCH command did not *ask* for FLAGS, so there's
> *no* requirement that the server send the flags as part of that
> response.  And once you detach it that way, the server can do what it
> wants.
>
> If, as a client, you want to head off this situation, the way to do it
> is to ask for FLAGS in addition to BODY.

An alternative is to keep message numbers for the duration of a UID 
FETCH and correlate multiple FETCH responses that way.

_______________________________________________
Imap-protocol mailing list
[email protected]
http://mailman2.u.washington.edu/mailman/listinfo/imap-protocol
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.