--On Wednesday, February 27, 2002 11:14 -0500 Cyrus Daboo 
<[EMAIL PROTECTED]> wrote:

>
> Yes, one connection is used to do periodic STATUS polls of all mailboxes
> you have marked for new mail checking. Then a new connection is used when
> you actually open a mailbox. When a mailbox is open, the checking is done
> via that connection using NOOPs. Based on the brief description that Larry
> had provided I'm guessing the caching happens on for the connection where
> the mailbox is SELECT'ed - i.e. the one where the mailbox is opened by the
> user - and not the STATUS connection. The code is the definitive source
> for this...

>From what I can tell it was indeed caching the seen states, and only 
invalidating the cache when the length of the seen file became longer than 
the cached version.  I modified my server to allow for checking based on 
modification time (in map_refresh()).  I made it optional because there are 
lots of other routines that use map_refresh() other than the seen database. 
So far it appears to be working.

Alec

--
Alec H. Peterson -- [EMAIL PROTECTED]
Chief Technology Officer
Catbird Networks, http://www.catbird.com

Reply via email to