Hi, FWIW, I think we’re seeing a related issue. We were able to reproduce LDAP- induced issues on vanilla dovecot master compiled from source, so we reported this upstream [1].
kind regards, Jonas [1]: https://www.dovecot.org/pipermail/dovecot/2018-January/110787.html