<<< Date Index >>>     <<< Thread Index >>>

Re: CVS HEAD problems with concurrent access to a big IMAP box



On Friday, 13 August 2004 at 20:37, Thomas Glanzmann wrote:
> Hello together,
> I am using mutt CVS HEAD, as usual, and IMAP Courier Server on Debian
> stable (woody). However I open a mailbox with ~ 25.000 mails in it. This
> takes a while, of course. However I have the mailbox already opened in a
> second mutt and delete some mails in it and press sync. (The other mutt
> is still on fetching the message headers). 
> 
> Than I get some errors like:
> 
> Cannot open message 25136
> ...
> 
> And mutt stays with this message there and does nothing. Okay as usual I
> am going to track this down and fix it. However I don't want to read all
> this IMAP docs. Is it mutt who should handle this case or is it
> cyrus-imap?
> 
> Does the IMAP-Server notifies the client during a fetch that a specific
> message isn't available?

It would be easier to tell who was at fault with a trace of the
session. My recollection is that the server is responsible for
delivering messages for which it hasn't previously announced an
expunge. Cyrus handles this situation by refcounting the message and
not removing it until no client has a handle on it, so mutt works
quite well with it.

I'm not sure whether or not courier is within the bounds of the IMAP
spec (in the past, it often hasn't been), but of course mutt shouldn't
freeze up anyway.