Re: imap server dropping connection while taking too long reading
On Thu, 2 Nov 2006 10:44:39 -0500, "Kyle Wheeler"
<kyle-mutt@xxxxxxxxxxxxxx> said:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thursday, November 2 at 10:19 AM, quoth Marc Vaillant:
> >When composing or reading a message from an imap server, mutt must
> >not poll the server because the connection gets dropped if you take
> >too long. Although this is less annoying with the header_cache
> >option which greatly speeds up reconnecting to the server, it's still
> >annoying and you end up loosing message flags. Is there any way to
> >keep this from happening?
>
> I don't know, but I would love to get this fixed as well. It's
> particularly irritating when composing, because if your connection
> gets dropped, you can't save the FCC of your message, which means you
> can't SEND the message you've just spent an hour composing. Mutt will
> demand to know if you want to create this folder (which did exist,
> back when you were connected). If you say no, it'll abort sending. If
> you say yes, it'll try to connect, fail (because mutt seems to be
> incapable of reconnecting to an SSL imap server), and abort sending.
>
> You might try filing a bug on http://bugs.mutt.org, I don't know if
> one exists for this problem yet or not.
>
Kyle, I figured it out. There's a variable called imap_keepalive. It's
set by default to 900. Setting it to 120 solves the problem for me.
I'm running mutt version 1.5.11.
Marc
--
Marc Vaillant
vaillant@xxxxxxxxxxx