X-OfflineIMAP header

John Goerzen jgoerzen at complete.org
Mon Oct 4 22:48:25 BST 2010


On 10/04/2010 10:04 AM, Johannes Stezenbach wrote:
> Hi John,
>
> I looked through the mailing list archive and git history
> but didn't find an answer to the question:
>
> Q: Why is it
>        X-OfflineIMAP-random-stuff: more random stuff
>     instead of
>        X-OfflineIMAP: random-stuff + more random stuff
>     ?

It made it easier to search for the one particular header desired. 
There could be multiple X-OfflineIMAP headers added if a message is 
moved beween folders more than once.  Then multiple headers would be 
returned and it would have to find the particular one it's interested 
in.  Not a big deal, just a hassle.

> One of the mail servers I have to use is Exchange
> (Microsoft Exchange Server 2003 IMAP4rev1 server version 6.5.7638.1),
> and I'm concerned about the issue which used to be described in
> http://software.complete.org/software/issues/show/114
> (via
> http://article.gmane.org/gmane.mail.imap.offlineimap.general/1699/match=x+offlineimap
> BTW, where did the issue tracker go?

there's on on github.com/jgoerzen/offlineimap now.

I'm not sure if that issue is still a problem with more modern Exchanges.

> Would you accept a patch to change the X-OfflineIMAP header format
> or was there an issue with some IMAP servers which required
> the current X-OfflineIMAP header format?

If I hadn't retired from maintaining OfflineIMAP, yes, of course.  Right 
now nobody has as yet stepped up to maintain patchsets/branches/etc... 
maybe you are that person.... <hint hint>

> However, in the -d imap debug log I found that the APPEND command returns
> the new UID value, so the X-OfflineIMAP header isn't actually used
> (UID SEARCH is never executed), thus I can't really test it...

APPEND is not guaranteed to do so, if memory serves.

-- John




More information about the OfflineIMAP-project mailing list