Quick Resync is a new extension that sort of addresses this issue. Mailboxes aren't versioned in a deep way, and bolting on version/date tracking of changes requires storing a lot of additional information.
http://tools.ietf.org/html/rfc5162 Aaron On Sat, 2009-01-10 at 19:36 +0100, Marc Dirix wrote: > Maybe not quite on topic. > > What is a clean way to check for deleted (expunged) message between > mailbox checks inside a session. > i.e. > Client A selects to mailbox INBOX and finds 22 messages there, and > caches them. > Client A selects to a different mailbox lets say DBMAL > Client B selects to mailbox INBOX and deletes 4 messages > Client A selects mailbox INBOX and per EXISTS is informed there are 19 > messages, > 1 new. > > Now what is the clean way to find out which messages should be deleted > from cache? > I'm thinking doing a FETCH on UID would do the trick. But what if an > "EXPUNGE" is send > between FETCHES? > Is there an other better approach? > > I've found mutt to just emptying cache between mailbox changes and re- > fetching everything > headers and body. > > Regards, > > Marc > _______________________________________________ > DBmail mailing list > DBmail@dbmail.org > https://mailman.fastxs.nl/mailman/listinfo/dbmail _______________________________________________ DBmail mailing list DBmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail