[PATCH 0/4] Re: implement syncing dovecot imap flags to remote repo

Nicolas Sebrecht nicolas.s-dev at laposte.net
Wed Aug 22 16:15:39 BST 2012

On Tue, Aug 21, 2012 at 11:07:29PM -0400, Dan Christensen wrote:

> I'm not the author, and I didn't look closely at the patch, but here is
> my guess:  Suppose you are syncing a remote IMAP server (any flavour)
> with a local dovecot server, but you are accessing dovecot's Maildir
> directly rather than via dovecot.  (An IMAP <--> Maildir sync.)  IMAP
> can have arbitrary multi-character flags.  dovecot stores them in the
> Maildir by mapping each one it sees to a new single character, and it
> remembers the mapping in dovecot-keywords.  With the patch, when
> offlineimap sees a flag on the remote IMAP server, it can look in the
> local dovecot-keywords file to see what single character dovecot has
> mapped that to, and then stores that single character flag in the local
> Maildir.  Then when the user access the Maildir via dovecot, dovecot 
> will show the original flag that was on the remote message.

I kinda read the same from the patches...

> The "IMAP keywords" section of this page
>   http://wiki2.dovecot.org/MailboxFormat/Maildir
> explains more.
> I think this patch might be too server specific.  As I mentioned, I
> think it would be better to simply use IMAP <--> IMAP sync, and let
> multi-character flags pass through unchanged.  This would solve the flag
> syncing problem for people who use any IMAP server.

... and came to a similar conlusion. This series looks too much specific
to a unsupported use case.

Thanks for your feedback.

Nicolas Sebrecht

More information about the OfflineIMAP-project mailing list