Request size problem with Zimbra

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


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:

WARNING: ERROR in syncfolder for XXXX folder xxxxxxxxx: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/offlineimap/", line 340, in syncfolder
  File "/usr/lib/python2.7/site-packages/offlineimap/folder/", line 175, in cachemessagelist
    response = imapobj.fetch(messagesToFetch, '(FLAGS UID)')[1]
  File "/usr/lib/python2.7/site-packages/offlineimap/", line 704, in fetch
    return self._simple_command(name, message_set, message_parts, **kw)
  File "/usr/lib/python2.7/site-packages/offlineimap/", line 1549, in _simple_command
    return self._command_complete(self._command(name, *args), kw)
  File "/usr/lib/python2.7/site-packages/offlineimap/", line 1314, in _command_complete
    raise self.error('%s command error: %s %s. Data: %.100s' % (, typ, dat,
error: FETCH command error: BAD ['parse error: maximum request size exceeded']. Data: JNAH182 FETCH 



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

More information about the OfflineIMAP-project mailing list