On 27. Jan 2025, at 12.30, Christian Rößner via dovecot <dovecot@dovecot.org> 
wrote:
> 
> Hi,
> 
> 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.

> request.service is always nil and is no longer set to the current service 
> name like imap, pop3, ...

It was named wrongly. It's request.protocol now.

_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to