Thanks, I will research how to implement this.

On Mon, Dec 7, 2020 at 2:07 PM Aki Tuomi <aki.tuomi@open-xchange.com> wrote:

> On 07/12/2020 13:30 Adrian M <adrian.minta@gmail.com> wrote:
>
>
> Hi,
> I'm curious to know if dovecot can be configured to do pipelining for auth_policy in order to use less connection to the server and keep them for longer.
> I'm working on making a small policy server and the lack of persistent connections is a cause of overhead.
>
> Thank you !

Hi!

At the moment these settings are hardcoded in auth-policy. It currently will reuse a connection if it's idle, but this requires your http server to also allow idling.

Aki