Re: [Evolution] Wish: Uncached IMAP folders



On Fri, 2006-04-21 at 14:23 -0400, Patrick O'Callaghan wrote:
On Fri, 2006-04-21 at 06:57 -0500, Ron Johnson wrote:
On Fri, 2006-04-21 at 07:46 -0400, Patrick O'Callaghan wrote:
On Wed, 2006-04-19 at 16:26 -0500, Ron Johnson wrote:
On Wed, 2006-04-19 at 15:38 +0100, Pete Biggs wrote:
On Wed, 2006-04-19 at 08:57 -0500, Ron Johnson wrote:
On Wed, 2006-04-19 at 13:52 +0100, Pete Biggs wrote:
On Wed, 2006-04-19 at 08:39 -0400, Patrick O'Callaghan wrote:
[Replying to own post]
[snip]
In Maildir storage, new emails are dropped in new/, and "already
read" emails are in cur/.  So, even if there are 10,000,000 records
in cur/, it's really easy to read thru the 100 records in new/.

I can't see how this answers the OP's requirement. The problem is that
for Evo to discover new mail it has to interrogate the IMAP server (no
matter what its mailstore format is), and the only options currently are
to ask about INBOX or about everything. INBOX doesn't contain all new
mail because of server-side filters, and asking about everything is slow
if one has lots of folders, because AFAIK the only way to do it is by
iterating an IMAP protocol command (STATUS I think) over all the
folders, sending the query and waiting for the response each time.
That's why it would be nice to be able to do it only for folders where
one there might be new messages.

And STATUS means "tell me about *all* emails?  If so, bummer.

Turns out it's not STATUS but LIST, but in any case you can see the
(impressive) amount of traffic generated by running with
CAMEL_VERBOSE_DEBUG=1.

received: * 12147 FETCH (UID 12166 FLAGS (\Seen))^M
received: * 12148 FETCH (UID 12167 FLAGS (\Seen))^M
received: * 12149 FETCH (UID 12168 FLAGS (\Seen))^M
received: * 12150 FETCH (UID 12174 FLAGS (\Seen))^M
received: A00049 OK FETCH completed.^M

Yes, I see now.

-- 
-----------------------------------------------------------------
Ron Johnson, Jr.
Jefferson, LA USA

"Diplomats were invented simply to waste time."
David Lloyd George, British prime minister




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]