Re: [Dovecot] Benchmarking CVS HEAD vs. v1.0
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.
On 15.3.2007, at 4.29, Bill Boebel wrote:
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)
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.
On Thu, Mar 15, 2007 at 12:45:45PM +0200, Timo Sirainen (TS) wrote:
TS> Another thing that I was planning was to send updated STATUS replies automatically to TS> client without it even asking them. That would probably have to be optional and could be TS> enabled either with config file option or with some new IMAP extension.
It would be great if this would be tunable at the user level, since I can think of users (roaming mobile) that wouldn't want a status message to cause their 3G connection to keep on using time/data.
Then again, most mobile operators would possibly love it! :)
Greetings,
Nils
-- Simple guidelines to happiness: Work like you don't need the money, love like your heart has never been broken and dance like no one can see you.
On Thu, 2007-03-15 at 12:27 +0100, Nils Vogels wrote:
On Thu, Mar 15, 2007 at 12:45:45PM +0200, Timo Sirainen (TS) wrote:
TS> Another thing that I was planning was to send updated STATUS replies automatically to TS> client without it even asking them. That would probably have to be optional and could be TS> enabled either with config file option or with some new IMAP extension.
It would be great if this would be tunable at the user level, since I can think of users (roaming mobile) that wouldn't want a status message to cause their 3G connection to keep on using time/data.
Any config file option can be changed for each user separately. http://wiki.dovecot.org/UserDatabase/ExtraFields
participants (3)
-
Bill Boebel
-
Nils Vogels
-
Timo Sirainen