[PATCH] Avoid Fatal error: Word too long from Cyrus IMAP servers by chunking fetch.

Sebastian Spaeth sebastian at sspaeth.de
Fri Jan 21 09:03:24 GMT 2011


On Thu, 20 Jan 2011 18:06:03 -0500, "Edward Z. Yang" <ezyang at MIT.EDU> wrote:
> I'm personally very displeased with the X-OfflineIMAP header that is
> added :-P

Just a side note. One of the reasons why I have never looked or
understood what happens here, is that this is a very murky and
undocumented area of code.

folder/IMAP.py:
    savemessage()
    savemessage_getnewheader(self, content):

are all pretty much underdocumented with lots of magic going on. I have
not dared touching or looking at this code as I don't get it. It
e.g. inserts that header without even giving a clue as to why it might
be needed or when. :-(

Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20110121/dff4d195/attachment-0001.sig>


More information about the OfflineIMAP-project mailing list