…
If you have very large mail folders (thousands of messages), you will need to adjust the word size of your IMAP server. In Dovecot, the parameter to increase is “imap_max_line_length”. We suggest a buffer of 2MB.
…
# Maximum IMAP command line length in bytes. Some clients generate very long
# command lines with huge mailboxes, so you may need to raise this if you get
# "Too long argument" or "IMAP command line too large" errors often.
#imap_max_line_length = 65536
please @all can you test the version nethserver-sogo-1.6.8 and report
* Wed Apr 28 2017 Stephane de Labrusse <stephdl@de-labrusse.fr> - 1.6.8-1
- Increase maximum IMAP command line length
- Sogo session are dropped after 24h
- Adjusted sogo cron.d, sieve credentials are in /etc/sogo/sieve.creds
I would change the file
/etc/e-smith/templates/etc/dovecot/dovecot.conf/90myimap_max_line_length in
/etc/e-smith/templates/etc/dovecot/dovecot.conf/90imap_max_line_length
#
# 90imap_max_line_length Increase the maximum IMAP command line length
#
# Maximum IMAP command line length in bytes. Some clients generate very long
# Command lines with huge mailboxes, so you may need to raise this if you get
# "Too long argument" or "IMAP command line too large".
Imap_max_line_length = {$ {'dovecot'} {'ImapMaxLineLenght'} || '2048'} k