synchronizing custom flags

Dan Christensen jdc at
Sun Mar 25 18:14:33 BST 2012

Erik Colson <eco at> writes:

> And I have put this code in which is loaded in
> .offlineimaprc :
> import offlineimap.imaputil as IU
> if not hasattr(IU, 'monkeypatchdone'):
>     IU.flagmap += [('gnus-expire','E'),
>                    ('gnus-dormant', 'Q'),
>                    ('gnus-save', 'V'),
>                    ('gnus-forward', 'W')]
>     IU.monkeypatchdone = True
> I do sync from Maildir to the distant dovecot server. although I also
> have a local dovecot server which also knows about the flags.

I use those settings for dovecot to dovecot syncs, and it works.
I haven't tried using a local Maildir.


More information about the OfflineIMAP-project mailing list