Re: RECENT/SEEN flags

2002-10-09 Thread Alec H. Peterson
--On Monday, March 4, 2002 10:37 -0600 Amos Gouaux <[EMAIL PROTECTED]> wrote: > > I wonder if this issue would resolve itself if skiplist was used as > the backend for seen.db instead of flat. I know this reply was from ages ago, but I finally got around to converting my seen databases fro

Re: RECENT/SEEN flags

2002-03-04 Thread Amos Gouaux
> On Wed, 27 Feb 2002 09:39:42 -0700, > Alec H Peterson <[EMAIL PROTECTED]> (ahp) writes: ahp> OK, so I've been poking my way through the code a little more, and ahp> found the database refresh routine (lib/cyrusdb_flat.c, ahp> map_refresh()). Is there some reason why the file size is th

Re: RECENT/SEEN flags

2002-02-28 Thread Alec H. Peterson
After a hint from Larry that my mmap() call might be buggy, I upgraded my Linux kernel (I was running 2.2.14, now am running 2.4.18) and the problems have disappeared. Alec -- Alec H. Peterson -- [EMAIL PROTECTED] Chief Technology Officer Catbird Networks, http://www.catbird.com

Re: RECENT/SEEN flags

2002-02-27 Thread Alec H. Peterson
--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

Re: RECENT/SEEN flags

2002-02-27 Thread Alec H. Peterson
OK, so I've been poking my way through the code a little more, and found the database refresh routine (lib/cyrusdb_flat.c, map_refresh()). Is there some reason why the file size is the conditional for refreshing the database instead of the actual file modification time? It seems to me that w

Re: RECENT/SEEN flags

2002-02-27 Thread Dave McCracken
--On Wednesday, February 27, 2002 11:14:36 -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, th

Re: RECENT/SEEN flags

2002-02-27 Thread Cyrus Daboo
Hi, --On Wednesday, February 27, 2002 9:05 AM -0700 "Alec H. Peterson" <[EMAIL PROTECTED]> wrote: |> The important thing to note is a recent change in our connection handling |> that keeps a connection active for a short while after the user closes a |> mailbox window, so that if they open anoth

Re: RECENT/SEEN flags

2002-02-27 Thread Alec H. Peterson
--On Wednesday, February 27, 2002 10:55 -0500 Cyrus Daboo <[EMAIL PROTECTED]> wrote: > > The important thing to note is a recent change in our connection handling > that keeps a connection active for a short while after the user closes a > mailbox window, so that if they open another mailbox soo

Re: RECENT/SEEN flags

2002-02-27 Thread Alec H. Peterson
--On Wednesday, February 27, 2002 8:20 -0700 "Alec H. Peterson" <[EMAIL PROTECTED]> wrote: > > Well if you could point me in the direction of where said caching takes > place I'd be happy to play with it myself and report back. I've found where the caching was taking place and commented it out:

Re: RECENT/SEEN flags

2002-02-27 Thread Cyrus Daboo
Hi, --On Wednesday, February 27, 2002 8:20 AM -0700 "Alec H. Peterson" <[EMAIL PROTECTED]> wrote: |> For improved performance, Cyrus tends to cache seen state changes |> until the connection SELECTs some other mailbox. Thus the other |> connection isn't changing its count. |> |> I don't have t

Re: RECENT/SEEN flags

2002-02-27 Thread Alec H. Peterson
--On Wednesday, February 27, 2002 0:46 -0500 Lawrence Greenfield <[EMAIL PROTECTED]> wrote: > For improved performance, Cyrus tends to cache seen state changes > until the connection SELECTs some other mailbox. Thus the other > connection isn't changing its count. > > I don't have time to go lo

Re: RECENT/SEEN flags

2002-02-26 Thread Lawrence Greenfield
For improved performance, Cyrus tends to cache seen state changes until the connection SELECTs some other mailbox. Thus the other connection isn't changing its count. I don't have time to go looking through the code to see where this behavior can be modified; I don't think it would be all that d

Re: RECENT/SEEN flags

2002-02-26 Thread Alec H. Peterson
So does anybody have any comments on how to fix this behavior in the Cyrus mail server? Alec --On Sunday, February 24, 2002 18:14 -0700 "Alec H. Peterson" <[EMAIL PROTECTED]> wrote: > I use Mulberry to read mail, and I have to mail accounts on it. One is a > Cyrus IMAP server, the other is a

Re: RECENT/SEEN flags

2002-02-25 Thread Alec H. Peterson
--On Monday, February 25, 2002 8:03 +0100 Lutz Albers <[EMAIL PROTECTED]> wrote: > > I can confirm that behaviour as well. I my case it happens with a Cyrus > IMAP server 2.0.16. Oops, forgot that. It happened when I was running 2.0.16 as well as 2.1.0. Alec -- Alec H. Peterson -- [EMAIL PRO

RECENT/SEEN flags

2002-02-24 Thread Alec H. Peterson
I use Mulberry to read mail, and I have to mail accounts on it. One is a Cyrus IMAP server, the other is a UW server. With the Cyrus server, sometimes when I read recent and/or unseen messages the unseen/recent message counts in the folder list menu show recent and/or unseen messages. But wh