#2056: Attempt re-connect when idle mailbox connection closes Old description:
> {{{ > As requested by Brendan Cully in PR#2049: > In some environments - possibly dependent on particular IMAP > server software, firewalls, routers, etc. - the connection > to an IMAP mailbox can close when it remains idle for more > than a few minutes. That can happen when the user returns > to the mailbox after viewing a message for a long time. > > Currently, mutt automatically closes the mailbox when > this happens. This makes mutt nearly unusable in this > type of IMAP/network environment. > > The correct behavior is for mutt to attempt to > reconnect to the mailbox. Mutt should only close > the mailbox if the reconnect attempt - or several > attempts - fails. > > This seems to be standard behavior for most IMAP email > clients. > >How-To-Repeat: > >Fix: > Unknown > }}} New description: As requested by Brendan Cully in PR#2049: In some environments - possibly dependent on particular IMAP server software, firewalls, routers, etc. - the connection to an IMAP mailbox can close when it remains idle for more than a few minutes. That can happen when the user returns to the mailbox after viewing a message for a long time. Currently, mutt automatically closes the mailbox when this happens. This makes mutt nearly unusable in this type of IMAP/network environment. The correct behavior is for mutt to attempt to reconnect to the mailbox. Mutt should only close the mailbox if the reconnect attempt - or several attempts - fails. This seems to be standard behavior for most IMAP email clients. -- Ticket URL: <http://dev.mutt.org/trac/ticket/2056#comment:1>