15 Mar
2007
15 Mar
'07
4:29 a.m.
On Wed, March 14, 2007 11:51 am, Timo Sirainen tss@iki.fi said:
Some new features in CVS HEAD are:
- Mailbox list index. LIST command can be handled by reading the mailboxes from the index. The index also contains the mailbox's message counters, 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)
- X-LIST-STATUS "INBOX" (MESSAGES 8 UNSEEN 0)
- X-LIST-STATUS "Drafts" (MESSAGES 0 UNSEEN 0)
- X-LIST-STATUS "Trash" (MESSAGES 89 UNSEEN 3) a1 OK X-LIST-STATUS complete.