MBOX-Line: From blong at google.com  Mon Jan  5 11:56:59 2015
To: imap-protocol@u.washington.edu
From: Brandon Long <blong@google.com>
Date: Fri Jun  8 12:34:53 2018
Subject: [Imap-protocol] Condstore, Gmail and mod_seq
In-Reply-To: <14db4ce6-e0d8-46b9-8a4a-ccb5500e5f18@flaska.net>
References: <CAKtzAO6+j26Z_uhfbQhisbqyzdO-hd=dgTWsQqK0YCJKhR+2GQ@mail.gmail.com>
	<ab55b321-8cf0-46d5-9b7c-3747d77c6250@flaska.net>
	<CAKtzAO6h+wgdvWAT1-56R06zxQr9+vEJB0VFWTS29u9t39CKrA@mail.gmail.com>
	<c8f8021a-fd03-4691-9fb8-2cf24a403ad2@flaska.net>
	<CAKtzAO7HFR3X0fcweafN-stN1Uz_-UaoY9CfrGW_gSMXxMQBTA@mail.gmail.com>
	<14db4ce6-e0d8-46b9-8a4a-ccb5500e5f18@flaska.net>
Message-ID: <CABa8R6t5r=vVwCbi-vU9r3FXmVQ_3zKXcyniKZVo02UD19EqAg@mail.gmail.com>

Well, gmail doesn't support qresync, we're still investigating it.

Brandon
On Jan 5, 2015 10:40 AM, "Jan Kundr?t" <jkt@flaska.net> wrote:

> On Monday, 5 January 2015 18:50:32 CEST, Daniel Pich? wrote:
>
>> So we poll each account periodically using condstore to capture label
>> changes. It's working perfectly fine however it doesn't report when
>> messages are permanently deleted. So we resync account a few times per day
>> ("CONDSTORE CHANGEDSINCE 1") to see if some messages have been deleted.
>>
>
> But doing that will very likely get you a list of all messages which are
> present in a mailbox right now. That's a very poor way of obtaining that
> information.
>
> RFC 3501 and RFC 4549 contain a lot of tips on how to sync efficiently.
>
>  Some accounts have hundred of thousands of message so that means we have a
>> lot of server side processing to do. So my plan was to save the mod_seq
>> when the account is entered in our system and use that point in time to
>> resync accounts. That way we never have use a mod_seq of 1 which returns a
>> lot of messages we don't care about.
>>
>
> Use QRESYNC and read https://tools.ietf.org/html/rfc7162#section-3.2.6 .
>
> Cheers,
> Jan
>
> --
> Trojit?, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/
> _______________________________________________
> Imap-protocol mailing list
> Imap-protocol@u.washington.edu
> http://mailman13.u.washington.edu/mailman/listinfo/imap-protocol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman13.u.washington.edu/pipermail/imap-protocol/attachments/20150105/de621956/attachment.html>
