Quoting Guilhem Moulin (2019-11-17 16:33:47) > 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.)
Interesting. ...but same error regardless of applying that option in interimap config or .ssh command restriction or both. Tried also bumped to 512k. How more exactly do you apply it succesfully? - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: signature

