RFC 5464 IMAP METADATA Extension Errata
Greg Banks
gnb at fastmail.fm
Sun Jul 29 19:36:51 EDT 2012
G'day,
On 30/07/2012, at 7:20, kael <ka-el at laposte.net> wrote:
> On 07/26/2012 07:28 AM, Bron Gondwana wrote:
>> https://bugzilla.cyrusimap.org/show_bug.cgi?id=3723
>
>
> Implementing unsolicited METADATA responses at the same time would be
> awesome, though.
Sheesh, give 'em an inch...
When I was doing the last round of annotation code rewrites, I deliberately avoided implementing unsolicited responses, because it's hard to do properly with the existing database structure. We'd need to store something like a modseq per annotation. The old format stored a timestamp because one of the early annotatemore drafts said that clients could access a modified time per annotation. That draft is obsolete now and we don't store modtimes anymore. In any case using timestamps to report changes is problematical, which is why modseqs are used to do that job for messages. Unfortunately, there's no single modseq-like counter in Cyrus which works for per-server, per-mailbox and per-message annotations.
But if there's a good use case for it, we could implement such a thing.
Greg.
More information about the Info-cyrus
mailing list