Quoting Ashley Yakeley <[EMAIL PROTECTED]>:

> At 2002-04-23 08:21, Ken Murchison wrote:
> 
> >> Also, I heard that SCAN was under discussion in the appropriate
> >> IETF group. Anyone know more about its current status?
> >
> >Its not being discussed at all.
> 
> Well that's the IETF for you...

This is a non-standard, and possibly dead extension which isn't part of 
imapext's agenda.

> So what is the best way for an IMAP client to detect recently arrived 
> mail in a hierarchy of around a thousand mailbox folders? Should it do a 
> SELECT on each one periodically? Or should it open up 1000 connections, 
> SELECT a folder and do IDLE on each one?

You might want to check with the imap mailing list ([EMAIL PROTECTED]), 
but here is a snippit from Mark Crispin's (the father of IMAP) tongue-in-cheek 
10 commandments for an IMAP client.

8. Thou shalt not fear to open multiple IMAP sessions to the server; but thou
shalt use this technique with wisdom.  For verily it is true; if thou doth
desire to monitor continuously five mailboxes for new mail, it is better to
have five IMAP sessions open on the mailboxes.  It is generally not good to do
a succession of five SELECT or STATUS commands on a periodic basis; and it is
truly wretched to open and close five sessions to do a STATUS or SELECT on a
periodic basis.  The cost of opening and closing a session is great,
especially if that session is SSL/TLS protected; and the cost of a STATUS or
SELECT can also be great.  By comparison, the cost of an open session doing an
IDLE or getting a NOOP every few minutes is small.  Great praise shall be
given to thy wisdom in doing what is less costly instead of "common sense."


-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp

Reply via email to