On Wed, Sep 13, 2006, Lars Kneschke <[EMAIL PROTECTED]> said:

> Hello!
> I started caching sort results, until uidvalidity changes.
> But uidvalidity does not change when i receive a new mail or delete a old
> one. I have tested this with a 2 weeks old version. Tomorrow i'll test it
> with latest SVN.

UIDVALIDITY is constant on a per-mailbox basis so long as the UIDs of each
message still point to the same messages. To look for new messages, you
need to check the current message sequence number. EXAMINE, SELECT and
STATUS can get it for you. In fact, we should time them to see if they run
at significantly different speeds.

Aaron

Reply via email to