[Dovecot] Clients and dovecot-uidlist

Timo Sirainen tss at iki.fi
Fri Jul 31 20:00:10 EEST 2009


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090731/d32b796e/attachment-0001.bin 


More information about the dovecot mailing list