<DKIM> Gmail Label Sync - Label Header Duplication Issue

Nicolas Sebrecht nicolas.s-dev at laposte.net
Wed Nov 19 22:44:01 UTC 2014


On Wed, Nov 19, 2014 at 11:55:36AM -0800, Ethan Schoonover wrote:

> SUMMARY:
> Offlineimap may create multiple headers recording the gmail labels
> when a message is refiled remotely on the gmail server. The last of
> these is always the correct header, but upon any subsequent scan of
> the message due to mtime change, offlineimap will read in only the
> first header, resulting in an incorrect relabeling of the message.
> 
> Thus the issue is that, in a multiple-label-header condition,
> offlineimap writes to a new header at the end of the header sequence,
> but subsequently reads from the first label-header available.
> 
> 
> WHAT SHOULD HAPPEN?
> Offlineimap should either NOT create multiple label headers or should
> consistently read write to the same (either first or last) label
> header.
> 
> 
> 
> REPRODUCIBLE EXAMPLE:
> The state of the headers (X-Keywords in this case) is shown in each step below:

Very nice analysis Ethan. I hope someone will fix this!

-- 
Nicolas Sebrecht



More information about the OfflineIMAP-project mailing list