=> On [2011-10-23 10:56:38 +0800]:
 du yang Said: 
> 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
If your Gmail INBOX really has 20,0000 messages, I think mutt IMAP can not 
fetch so much
headers. Maybe you need to delete or catalyzes your gmail.
> 
> 
> 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::
> ::\_)::(..)::
> :::::::)./:::
> ::::::(_/::::



-- 
stardiviner GPG: 5D9F64D8 Twitter: @numbchild
http://stardiviner.dyndns-blog.com/author.html

Attachment: signature.asc
Description: Digital signature

Reply via email to