[Dovecot] Benchmarking CVS HEAD vs. v1.0

Timo Sirainen tss at iki.fi
Thu Mar 15 12:45:45 EET 2007


On 15.3.2007, at 4.29, Bill Boebel wrote:

> On Wed, March 14, 2007 11:51 am, Timo Sirainen <tss at 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)

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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070315/48956cc0/attachment.pgp 


More information about the dovecot mailing list