MBOX-Line: From jkt at flaska.net  Fri Jul 13 16:27:04 2012
To: imap-protocol@u.washington.edu
From: =?UTF-8?B?SmFuIEt1bmRyw6F0?= <jkt@flaska.net>
Date: Fri Jun  8 12:34:48 2018
Subject: [Imap-protocol] QRESYNC and new arrivals which get deleted
	immediately through VANISHED
In-Reply-To: <50006794.6050401@flaska.net>
References: <4FD221F9.8090601@flaska.net> <4FD4EB4B.7050000@flaska.net>
	<E96EC1B2-A6D2-4BF6-9004-8248F61015F5@isode.com>
	<4FD75715.2040607@flaska.net> <4FD77DE4.2080602@isode.com>
	<50006794.6050401@flaska.net>
Message-ID: <5000AEC8.1020205@flaska.net>

I've fixed a few ambiguities in my proposed ARRIVED response draft. 
Updated version is at [1], source at [2]. These changes are:

- Clarified that UIDs presented in the ARRIVED response MUST be always 
presented in a sorted order
- Used a special non-terminal in the ABNF grammar
- Used correct format for FETCH responses
- Clarify that EXISTS must be sent at least once and SHOULD be sent only 
once
- Clarify that ARRIVED MUST NOT occur before the tagged response to 
SELECT/EXAMINE
- Clarify that arrivals since the last time are to be reported through 
usual UID FETCH, as in old QRESYNC

This -01 version is also what I've implemented in Trojita under 
capability of X-DRAFT-I01-QRESYNC-ARRIVED. A simple conversation is 
depicted in a unit test [3].

Please accept my apologies if this is too high frequency of updates -- 
just let me know and I'll introduce longer delays to the process; I 
*have* read the original version after finishing it, yet missed a few 
issues -- I should have definitely finished my implementation before 
posting. Sorry for that.

[1] http://trojita.flaska.net/draft-imap-qresync-arrived-01.html
[2] 
https://gitorious.org/trojita/trojita/blobs/drafts/draft-imap-qresync-arrived-01/docs/proposed-extensions/draft-imap-qresync-arrived.xml
[3] 
https://gitorious.org/trojita/trojita/blobs/drafts/draft-imap-qresync-arrived-01/tests/tests/test_Imap_Tasks_ObtainSynchronizedMailbox/test_Imap_Tasks_ObtainSynchronizedMailbox.cpp#line1948

With kind regards,
Jan

-- 
Trojita, a fast e-mail client -- http://trojita.flaska.net/

