>I'm implementing an IMAP interface to a message store where every message 
>has properties create_time and last_modified_time. Which one should be 
>exposed by the IMAP server as message's INTERNALDATE?

In a similar situation I use the creation time.

>Is it possible to synchronize IMAP folders of this type? How should I 
>announce to the client that some message has changed?

Assuming my understanding is correct then, if any component of a message 
exposed by IMAP other than its flags has changed, it must be made to appear 
as a new message in IMAP terms.  Which means that it must be assigned a new 
UID.  How this would be announced to the client depends on the 
context.  For example, if the client has the folder selected at the time 
the change occurs, it would be signaled by expressing that the old UID has 
been expunged and a new message added.  With some mailstores, implementing 
this can be a challenge.

Pete Maclean


Reply via email to