On Fri, 2009-07-31 at 18:56 +0200, Thomas Hummel wrote:
On Fri, Jul 31, 2009 at 12:49:04PM -0400, Timo Sirainen wrote:
Most clients cache mails based on UIDVALIDITY and UID, so if UIDVALIDITY changes, it re-downloads all mails. If just UIDs change, then it's handled exactly the same way as if all messages just got expunged and added back, so again it'll re-download them.
You mean, one single UID differ between the client's cache and what the server sends and the whole mailbox is fetched again ?
No. But if if you delete uidlist, all UIDs change. There are very few situations where only a single UID differs.
Then again, client doesn't know if UID changes. It handles those situations exactly the same way as if message was expunged and a new message was added.
So UIDVALIDITY is just basically the "instance number" of a mailbox, right ?
Pretty much, yes.