On Sun, 17 Nov 2019 at 15:20:51 +0100, Jonas Smedegaard wrote:
> Quoting Guilhem Moulin (2019-11-16 17:26:29)
>> On Sat, 16 Nov 2019 at 15:57:16 +0100, Jonas Smedegaard wrote:
>>> Seems interimap can generate commands exceeding what Dovecot can 
>>> handle.
> [...]
>> If you have access to the Dovecot config on both ends, a workaround is
>> to raise `imap_max_line_length` to something sensible (the default is
>> 64k).
> 
> Thanks for the suggested workaround.  I however get same error when 
> (uncommenting and) bumping to 128k/256k/640k in file 
> set_presence/etc/dovecot/conf.d/20-imap.conf on a Debian stable system, 
> and then restarting dovecot.

Ah yeah, forgot to add that Dovecot's `imap` binary doesn't honor that
setting when set in the configuration file.  Dunno if that's intentional
or if it's a Dovecot bug; anyway one needs to pass it to the command
line instead: `doveadm exec imap -oimap_max_line_length=256k`.  (No need
to reload or restart Dovecot.)

-- 
Guilhem.

Attachment: signature.asc
Description: PGP signature

Reply via email to