oauth2 + postgres = Panic: file http-client.c: line 646 (http_client_context_close)

2022-10-27 Thread Sebastiano Degan
I could to reply to the original thread: https://www.mail-archive.com/dovecot@dovecot.org/msg85204.html But I managed to get a stack trace of the error: root@mail:~ # lldb /usr/local/libexec/dovecot/auth (lldb) target create "/usr/local/libexec/dovecot/auth" Current executable set to '/usr/local/

auth crashes when oauth2 passdb is enabled

2022-01-01 Thread Sebastiano Degan
I've enabled both sql and oauth2 passdb, regardless of the method used by the client, I get the following error: Jan 1 15:38:56 mail dovecot[52828]: auth: Panic: file http-client.c: line 646 (http_client_context_close): assertion failed: (cctx->clients_list == NULL) Jan 1 15:38:56 mail dovecot[5

Dovecot authentication hangs when ldap_start_tls_s() fails for invalid certificate

2020-11-19 Thread sebastiano degan
On a Debian10 I've installed postfix 3.4.14 and dovecot 2.3.4.1. I've configured multiple passdb sources and I expect that if one fails the other ones are tested. This is usually the case, except when the failure is due to an invalid certificate from the ldap server. In that case all authentication