From: Jason W. <jas...@in...> - 2005-12-17 00:59:34
|
On Fri, Dec 16, 2005 at 05:01:58PM +0530, Sunil Shetye wrote: > Your IMAP server is also sending UID information in the response. It > needs to be checked if sending UIDs in response is valid or not. Yes, I was wondering whether the server was conforming to the RFC. > > fetchmail is not expecting UIDs in the response. Hence the protocol > error. Could you try this patch and tell me if it works for you? Note > that you may get more errors if UIDs are sent in further responses > (like RFC822.TEXT) which have not been reached yet. With the patch applied, Fetchmail read and delivered the entire message. Here is the log of the body portion: Dec 17 10:38:26 jdc fetchmail[4404]: IMAP> A0007 FETCH 1 BODY.PEEK[TEXT] Dec 17 10:38:26 jdc fetchmail[4404]: IMAP< * 1 FETCH (UID 17 BODY[TEXT] {94} Dec 17 10:38:26 jdc fetchmail[4404]: (94 body octets) Dec 17 10:38:26 jdc fetchmail[4404]: IMAP< ) Dec 17 10:38:26 jdc fetchmail[4404]: IMAP< A0007 OK FETCH completed I can carry out whatever further testing you consider appropriate, either to this or to any generalized version of the patch that you decide to create. I haven't tried messages with attachments yet, but thought I should report the initial results. |