X-OfflineIMAP header

Johannes Stezenbach js at sig21.net
Thu Nov 18 20:04:07 GMT 2010


On Thu, Nov 18, 2010 at 07:56:15PM +0100, Nicolas Sebrecht wrote:
> On Thu, Oct 07, 2010 at 01:47:43PM +0200, Johannes Stezenbach wrote:
> > 
> > --- snip ---
> 
> Use the scissors line form as supported by git. Something like
> 
> -- >8 --
> 
> or
> 
> -- >8 -- snip -- >8 --
> 
> is correct.

Oh, I didn't even know git supports this...

> > From 0e7e5874d62ebbde4fa468fd276c1622b526c46d Mon Sep 17 00:00:00 2001
> 
> This line is not valid.

This is git-format-patch output.

> > The X-OfflineIMAP header is neccessary with some IMAP servers to
> > reliably determine the UID of a new messages uploaded to the server
> > by using the "UID SEARCH HEADER name string" command.  Since this
> > command compares header name and value it is sufficient to have
> > a unique header value and a non-unique header name.
> > 
> > Note that a message can have more than one X-OfflineIMAP header if
> > the message was copied between IMAP folders multiple times.
> 
> Is this fix reliable with already marked emails ?

Yes.  The X-OfflineIMAP header is only used once: Directly after uploading
a new message to the IMAP server, to get the UID for the new message.

Thanks,
Johannes




More information about the OfflineIMAP-project mailing list