Re: Force IMAP server to refresh message flags?

Timo Sirainen <[email protected]>
Newsgroups gmane.mail.imap.uw.c-client
Message-ID <1261076390.26478.509.camel@timo-desktop>
On Thu, 2009-12-17 at 10:22 -0800, Mark Crispin wrote:
> No server "caches the flags" as you describe.  If the mail store in the 
> server supports multiple simultaneous sessions to the same mailbox (e.g., 
> mix and mbx formats in UW), then flags are updated immediately.

Well, not necessarily immediately, at least not all servers. A NOOP
command should refresh flags and other things with most servers. 

Hmm. Dovecot's current behavior is that doing a FETCH FLAGS just after
its flags had changed in another session first returns one FETCH FLAGS
with the old flags (the FETCH reply), then another FETCH FLAGS with the
updated flags (after it noticed the changes). It would be simple to
change it to return the updated flags immediately. I suppose I should do
that..

_______________________________________________
Imap-uw mailing list
[email protected]
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEABECAAYFAksqf6YACgkQyUhSUUBVisnBXQCgivxMfxTcZU63TVXYyUpijN9c
lncAnAsYro6tWpqDpF4/pRFPoMgxtn4h
=iezH
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.