[prev in list] [next in list] [prev in thread] [next in thread] 

List:       imap
Subject:    Re: [Imap-protocol] =?iso-8859-1?q?Condstore=2C_Gmail_and_mod=5Fseq?=
From:       Jan_Kundrát <jkt () flaska ! net>
Date:       2015-01-05 18:37:52
Message-ID: 14db4ce6-e0d8-46b9-8a4a-ccb5500e5f18 () flaska ! net
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic