It's google's IMAP servers.... sample conversation with the bug is below. The skips are consistent (ie when i repeat fetching headers i miss the same messege ids). I'm missing ~35 headers out of 280K:
... 4< * 50879 FETCH (UID 51970 RFC822.SIZE 14240 INTERNALDATE "06-Mar-2008 16:51:29 +0000" FLAGS (\Seen) BODY[HEADER.FIELDS (DATE FROM SUBJECT TO CC MESSAGE-ID REFERENCES CONTENT-TYPE CONTENT-DESCRIPTION IN-REPLY-TO REPLY-TO LINES LIST-POST X-LABEL)] {815} Handling FETCH FETCH response ignored for this message imap_read_literal: reading 815 bytes 4< ) parse_parameters: `charset=ISO-8859-1' parse_parameter: `charset' = `ISO-8859-1' 4< * 50881 FETCH (UID 51972 RFC822.SIZE 5665 INTERNALDATE "06-Mar-2008 17:56:51 +0000" FLAGS (\Seen) BODY[HEADER.FIELDS (DATE FROM SUBJECT TO CC MESSAGE-ID REFERENCES CONTENT-TYPE CONTENT-DESCRIPTION IN-REPLY-TO REPLY-TO LINES LIST-POST X-LABEL)] {651} Handling FETCH FETCH response ignored for this message imap_read_literal: reading 651 bytes 4< ) BUGBUG expecting 50880 got 50881 ... On Wed, Aug 19, 2009 at 04:08, Kyle Wheeler<kyle-mutt-...@memoryhole.net> wrote: > On Wednesday, August 19 at 12:32 AM, quoth Aviv Greenberg: >> >> It appears that the imap server skips some headers in the FETCH >> command. Is this normal? Is this whats casuing the error? What can i >> do? > > It's definitely NOT normal. What IMAP server are you using? If you can > produce an example IMAP conversation to demonstrate the bug, perhaps you can > file a bug report with them. > > ~Kyle > -- > Man has the right to act in conscience and in freedom so as personally to > make moral decisions. "He must not be forced to act contrary to his > conscience. Nor must he be prevented from acting according to his > conscience, especially in religious matters." > -- Catholic Catechism 1782 > -- Stephen Leacock - "I detest life-insurance agents: they always argue that I shall some day die, which is not so." - http://www.brainyquote.com/quotes/authors/s/stephen_leacock.html