Re: Cyrus 2.4.X delete mailbox oddities

2011-07-12 Thread Jeroen van Meeuwen (Kolab Systems)
Bron Gondwana wrote: > Unfortunately, I can't see what NOOP can do to tell the client > that the mailbox has gone away, because RFC3501 says it ALWAYS > SUCCEEDS[tm]. Maybe we should ask Mark. > Hey Bron, we had discussed this over IRC for a bit... Since a NOOP can result in the server returni

Re: Cyrus 2.4.X delete mailbox oddities

2011-06-28 Thread Bron Gondwana
On Tue, 28 Jun 2011 15:05 +0200, "Bron Gondwana" wrote: > On Tue, 28 Jun 2011 14:42 +0200, "Bron Gondwana" wrote: > > Ok, so that's annoying. LOGOUT doesn't clean up after itself. > > That's definitely a bug. I'll see what I can do about that. > > Ahh, yeah - we don't read the cyrus.index agai

Re: Cyrus 2.4.X delete mailbox oddities

2011-06-28 Thread Bron Gondwana
On Tue, 28 Jun 2011 14:42 +0200, "Bron Gondwana" wrote: > > > On Tue, 28 Jun 2011 10:23 +0100, "David Carter" wrote: > > On Tue, 28 Jun 2011, Bron Gondwana wrote: > > > > > The separate IMAP session should clean it up when it disconnects. It's > > > basically "last one out turn off the lig

Re: Cyrus 2.4.X delete mailbox oddities

2011-06-28 Thread Bron Gondwana
On Tue, 28 Jun 2011 10:02 +0100, "David Carter" wrote: > On Tue, 28 Jun 2011, Bron Gondwana wrote: > > >> I have however discovered two wrinkles when deleting mailboxes selected by > >> some other IMAP session. PINE might leave a mailbox selected for days. > > > > Well, that's classy PINE. > >

Re: Cyrus 2.4.X delete mailbox oddities

2011-06-28 Thread Bron Gondwana
On Tue, 28 Jun 2011 10:23 +0100, "David Carter" wrote: > On Tue, 28 Jun 2011, Bron Gondwana wrote: > > > The separate IMAP session should clean it up when it disconnects. It's > > basically "last one out turn off the lights". > > Some further testing suggests that this happens if I try: > >

Re: Cyrus 2.4.X delete mailbox oddities

2011-06-28 Thread Bron Gondwana
On Tue, 28 Jun 2011 10:02 +0100, "David Carter" wrote: > On Tue, 28 Jun 2011, Bron Gondwana wrote: > > >> I have however discovered two wrinkles when deleting mailboxes selected by > >> some other IMAP session. PINE might leave a mailbox selected for days. > > > > Well, that's classy PINE. > >

Re: Cyrus 2.4.X delete mailbox oddities

2011-06-28 Thread David Carter
On Tue, 28 Jun 2011, Bron Gondwana wrote: > The separate IMAP session should clean it up when it disconnects. It's > basically "last one out turn off the lights". Some further testing suggests that this happens if I try: C1: . SELECT foo C2: . DELETE foo . OK Completed

Re: Cyrus 2.4.X delete mailbox oddities

2011-06-28 Thread David Carter
On Tue, 28 Jun 2011, Bron Gondwana wrote: >> I have however discovered two wrinkles when deleting mailboxes selected by >> some other IMAP session. PINE might leave a mailbox selected for days. > > Well, that's classy PINE. Do you want to have an debate with Mark Crispin about correct behaviour o

Re: Cyrus 2.4.X delete mailbox oddities

2011-06-28 Thread Bron Gondwana
On Tue, 28 Jun 2011 08:58 +0100, "David Carter" wrote: > If I delete a mailbox selected by the current IMAP session in 2.4.X then > the underlying files are are only removed on logout. I suspect that this > is a consequence of the new mailbox code, which is fair enough. > > I have however disco