[Imap-protocol] idle and multi-mailbox access

DINH Viêt Hoà dinh.viet.hoa at free.fr
Sun Dec 2 03:49:08 PST 2007


I was possibly planning to implement IDLE on my IMAP client prototype
(http://www.etpanX.org) to know (mostly) real-time the count of unread
messages on the mailboxes but I fell on the following problem:
Theorically, if we suppose that any mail can be delivered to any
mailbox (especially because of server-side filters), you have to show
the the user for all subscribed mailboxes the status of the mailbox.
So that I have to make a connection for each mailbox to request IDLE
from the server.
I have more than 10 mailboxes.
In practice since many servers won't allow that much connections
(because of resource usage), this is not possible to do this. Many
servers will limit to 3 connections.
Then, use of IDLE is not possible to do this.

The other possibility is to use the old-poll-sheme using STATUS.

is the following draft supposed to solve that problem ?

DINH Viêt Hoà

More information about the Imap-protocol mailing list