[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nnimap.0.80 and authinfo



dsg@mitre.org (David S. Goldberg) writes:

> At some point the server (* OK linus Cyrus IMAP4 v1.5.10 server
> ready) times out (snip from *imap-log*):
> 
>     * SEARCH
>     B173 OK Completed
>     B174 CLOSE
>     B174 OK Completed
>     * BYE idle for too long

This is slightly tricky, what should we do about timeouts?  Should we
have timeouts?

The `CLOSE' and `EXPUNGE' commands might very well take several
minutes, and there aren't any useful commands we can run in parallel
with a CLOSE command so we kind of must wait for it to finish.

Perhaps we should remove the timeouts.

Hm. OTOH, nnimap should never use CLOSE unless it knows that there are
articles that will be expunged by CLOSE and there are code to check
this right now, looks like it doesn't work.

> After that point, any attempt to open the server results in a "server
> denied" error message.

Yup, I've been able to reproduce it.