Ulf Dittmer wrote:
I'm using both IMAP and POP3 and in both the protocols
This sounds odd. POP has no concept of synchronization, so you're bound to run into problems, especially if you also (or variously) use IMAP.
Ok I should mention that POP3 is there as fallback for certain sites which only support POP3 ( like Outlook) . I don't use sync here but I do use message-id to identify messages.
But with IMAP as I said, message-id is being used.
Suppose I have a fully sync list of mails in my local machine. Now, If I delete a mail in the inbox, how can I identify this event so that I can also delete the local copy automatically? Is it just a matter of comparing the message-uids of local and server mails and delete whatever is missing in the server?