the X-OfflineIMAP header
Dan Christensen
jdc at uwo.ca
Sun Dec 5 00:41:26 GMT 2010
Nicolas Sebrecht <nicolas.s-dev at laposte.net> writes:
> On Thu, Nov 25, 2010 at 01:18:20PM -0500, Dan Christensen wrote:
>>
>> The other idea I mentioned, which would get rid of X-OfflineIMAP
>> headers altogether, may be a bit harder to implement, but would be
>> really great.
>
> Looks like a good idea, maybe as an option like --ignore-uuid or
> something.
I don't think it should be an option. Offlineimap wouldn't be ignoring
the uuid, it would be obtaining it directly from the server without
adding a header or doing a search. Just to keep this thread on track,
here's what I wrote about this option:
Dan Christensen wrote:
> 2) For IMAP servers that support UIDPLUS, it shouldn't be necessary to
> insert the X-OfflineIMAP header at all, since they return the UID of
> the APPENDed message using the APPENDUID response code:
>
> http://www.faqs.org/rfcs/rfc4315.html
>
> For example,
>
> 1 APPEND "test" () {87}
> + OK
> Date: Thu, 25 Nov 2010 11:18:01 -0400 (EST)
> From: Dan <jdc at xxxxxx>
> Subject: test
>
> test
>
> 1 OK [APPENDUID 1254248544 10732] Append completed.
>
> The number 10732 is the UID of the newly created message. No need
> to alter the message with a header or to issue a separate SEARCH
> command.
More information about the OfflineIMAP-project
mailing list