X-OfflineIMAP header

Nicolas Sebrecht nicolas.s-dev at laposte.net
Thu Nov 18 23:35:50 UTC 2010


On Thu, Nov 18, 2010 at 09:04:07PM +0100, Johannes Stezenbach wrote:
> 
> > > From 0e7e5874d62ebbde4fa468fd276c1622b526c46d Mon Sep 17 00:00:00 2001
> > 
> > This line is not valid.
> 
> This is git-format-patch output.

Yes, scissors have been implemented a while after format-patch. Its
output is not designed to append patches in a mail out of the box.

> > > 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; merged.

-- 
Nicolas Sebrecht



More information about the OfflineIMAP-project mailing list