On Monday 10/24/11 17:09:40 CST, Aaron Toponce wrote: > On Sun, Oct 23, 2011 at 02:02:01PM +0800, stardiviner wrote: > > => On [2011-10-23 10:56:38 +0800]: du yang Said: > > > 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. > > > > > 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. > > Garbage. I have over 70,000 emails in my account, over 40,000 of which are > in the debian-users mailing list folder. I just recently reinstalled my > computer, and had to re-fetch all 40K headers, and while it took a while to > do so over IMAP, it did so successfully, without hiccup. >
I search a lot about the "tls_socket_read" problem. It's caused by SSL connection time out or broken. In my case, I tuned mutt with many timeout parameters but without success. If mutt's no problem, the connection may be disconnected on server end or the ISP's firewall. Your case said gmail has no problem, so the problem should reside in my ISP's firewall. But I can't do anything on that. -- oooO::::::::: (..)::::::::: :\.(:::Oooo:: ::\_)::(..):: :::::::)./::: ::::::(_/::::
signature.asc
Description: Digital signature