Request size problem with Zimbra

Lukas Zapletal lzap+pub at redhat.com
Tue Mar 27 14:15:03 BST 2012


Hello,

I am using offlineimap with Zimbra and it works very well. The only
thing is when I am offline for few days and some of my lists gets
filled, offlineimap is hitting some Zimbra boundaries and prints:

parse error: maximum request size exceeded

Not being IMAP expert, from the exception I can see offlineimap is
sending a big request. Is there any configuration or hack that could
help me setting this to a reasonable value? From various internet
resources I understand it is set to 2048.

The full log: http://pastie.org/private/zxipgwcf8mdgrzwcnrzvg

WARNING: ERROR in syncfolder for XXXX folder xxxxxxxxx: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 340, in syncfolder
    remotefolder.cachemessagelist()
  File "/usr/lib/python2.7/site-packages/offlineimap/folder/IMAP.py", line 175, in cachemessagelist
    response = imapobj.fetch(messagesToFetch, '(FLAGS UID)')[1]
  File "/usr/lib/python2.7/site-packages/offlineimap/imaplib2.py", line 704, in fetch
    return self._simple_command(name, message_set, message_parts, **kw)
  File "/usr/lib/python2.7/site-packages/offlineimap/imaplib2.py", line 1549, in _simple_command
    return self._command_complete(self._command(name, *args), kw)
  File "/usr/lib/python2.7/site-packages/offlineimap/imaplib2.py", line 1314, in _command_complete
    raise self.error('%s command error: %s %s. Data: %.100s' % (rqb.name, typ, dat, rqb.data))
error: FETCH command error: BAD ['parse error: maximum request size exceeded']. Data: JNAH182 FETCH 
12316,12317,12318,12319,12320,12321,12322,12323,12324,12325,12326,12327,12328,12329,......

Thanks!

-- 
Later,

 Lukas Zapletal | E32E400A
 RHN Satellite Engineering
 Red Hat Czech s.r.o. Brno




More information about the OfflineIMAP-project mailing list