On 15.3.2007, at 4.29, Bill Boebel wrote:
On Wed, March 14, 2007 11:51 am, Timo Sirainen <[EMAIL PROTECTED]> said:Some new features in CVS HEAD are: - Mailbox list index. LIST command can be handled by reading themailboxes from the index. The index also contains the mailbox's messagecounters, so STATUS command can be handled by only looking into the index file.Nice. Now that it can pull this from index files, it would be pretty sweet if there was a variant of the STATUS command that would provide STATUS information for all mailboxes at once, rather than just for one. This could be used by webmail applications to update a folder listing that shows unseen mail counters with one command. Like maybe:a1 X-LIST-STATUS (MESSAGES UNSEEN)
I think something like this was planned to be done some day with LISTEXT extension. Something like:
1 LIST "" * (STATUS)Although I don't know how much it will help compared to just sending the STATUS commands all at once. Although that requires knowing the mailbox list, while the above command would get them both with one command.
* X-LIST-STATUS "INBOX" (MESSAGES 8 UNSEEN 0) * X-LIST-STATUS "Drafts" (MESSAGES 0 UNSEEN 0) * X-LIST-STATUS "Trash" (MESSAGES 89 UNSEEN 3)
These could anyway be standard untagged STATUS replies.Another thing that I was planning was to send updated STATUS replies automatically to client without it even asking them. That would probably have to be optional and could be enabled either with config file option or with some new IMAP extension.
PGP.sig
Description: This is a digitally signed message part