On Monday, 20 July 2009 at 21:27, Stefan Petrea wrote: > > > I think this is a bug. > If I leave my mutt(set up with gmail for IMAP) open for more than 4-5 minutes > untouched > all my messages disappear from the screen and on the bottom of the screen I > get this error > "tls_socket_read (A TLS packet with unexpected length was received". > > Is there a patch fixing this or something ?
Your server is hanging up on you, or a NAT firewall in between is dropping your connection. Try lowering $imap_keepalive to something like 120.