On 2014-10-03 10:36 AM, Jacques Morrisseau wrote:
The total size for my own folder is 2.5GB (with more or less 60000
email), the one for my boss is 40GB (unknown number of file at this
moment).
To handle large folders like that, you would need to increase the word
limit on your IMAP server much more.
Say you have 60 000 messages and they each have an IMAP UID larger than
10000 - 5 bytes are used, plus each comma separating them, during a
request. So basically you would need a buffer of around 350 KB.
The parameter to adjust in Dovecot is "imap_max_line_length" while on
Cyrus, it's "maxword".
I've just tried with 100 000 messages on Cyrus and a 2MB buffer was
good. Outlook is happily syncing chunks of 1024 messages.
Ultimately, we would need to modify SOPE to split very large requests
into smaller ones but for now, we don't do it and you can adjust the
parameters from your IMAP server to better handle this. The
documentation has just been updated for that.
Ludo
--
Ludovic Marcotte
[email protected] :: +1.514.755.3630 :: http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence
(http://packetfence.org)
--
[email protected]
https://inverse.ca/sogo/lists