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

Re: IMAP timeout during SMTP transmission



On Thursday, February 19 at 12:48 PM, quoth Rocco Rutte:
I found a situation where mutt can sometimes forget about its connections: when using smtp to send email. Apparently during transmission, mutt forgets about $imap_timeout (or any of the other ones). Thus, if my IMAP server disconnects people who are idle for 10 minutes and it takes 11 minutes to send a long email (e.g. an attachment over a slow modem), mutt will be disconnected.

How about taking the imap keepalive dance from keymap.c, turn that into
a function which returns the proper value for timeout()? That function
could then be called right before every progress update.

That makes good sense to me!

~Kyle
--
Seeing a murder on television [...] can help work off one's antagonisms. And if you haven't any antagonisms, the commercials will give you some.
                                                   -- Alfred Hitchcock

Attachment: pgpPd0VSU_TZA.pgp
Description: PGP signature