MBOX-Line: From dinh.viet.hoa at free.fr  Sun Dec  2 03:49:08 2007
To: imap-protocol@u.washington.edu
From: =?ISO-8859-1?Q?DINH_Vi=EAt_Ho=E0?= <dinh.viet.hoa@free.fr>
Date: Fri Jun  8 12:34:41 2018
Subject: [Imap-protocol] idle and multi-mailbox access
Message-ID: <fc2c80ae0712020349x1402576ehd93bc122fbdbef2@mail.gmail.com>

Hello,

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 ?
http://tools.ietf.org/html/draft-ietf-lemonade-imap-notify-01

-- 
DINH Vi?t Ho?

