On 27. Jan 2025, at 14.00, Timo Sirainen <timo@sirainen.com> wrote:
I have ported my Lua backend to fit with Dovecot version 2.4.0. I encountered minor issues:
Could you please add the configuration docs for the dovecot-http-client or point me to the location, where I can find it? It seems, "debug", "timeout" and "max_attempts" have been dropped or renamed.
Looks like the documentation update wasn't exactly right. Updating it in https://github.com/dovecot/documentation/pull/1148
In general, Lua supports all http_client_* settings without the http_client_ prefix and ssl_client_* settings with the prefix. So:
- request_max_attempts
- request_timeout
There is no more debug setting. You can enable debug for the parent event instead.
Looks like we're missing set_forced_debug() for Lua, so you can't do that in Lua code. But you can use in dovecot.conf for example:
log_debug = category=auth and category=http-client