Hi, I have a gmail INBOX with more than 20,000 messages. I configured mutt IMAP to this mailbox. For this is the first time to this mailbox, mutt try to fetch all the headers at the beginning and always got the problem "tls_socket_read (A TLS packet with unexpected length was received.)" when just fetched about 5000 headers.
I've to set imap_keepalive to 300, 100, 30 and 10, but without success. mail_check and timeout is 30 and 10 respectively. I remember mutt can continue to fetch the remaining headers after a restart, but now mutt always fetch all the headers after the failure. Here are some error information with debug level 5: [2011-10-23 08:16:18] tls_socket_read (A TLS packet with unexpected length was received.) [2011-10-23 08:16:22] imap_cmd_step: Error reading server response. [2011-10-23 08:16:22] Error opening mailbox Who can give me some suggestions to solve or workaround this problem to get mutt working? Thanks in advance. Best regards, du yang -- oooO::::::::: (..)::::::::: :\.(:::Oooo:: ::\_)::(..):: :::::::)./::: ::::::(_/::::
signature.asc
Description: Digital signature
