access dict in lua auth script

Aki Tuomi
Wed, 16 Nov 2022 13:39:31 -0000

> On 16/11/2022 13:46 EET Tobias Florek <dovecot at ibotty.net> wrote:
>
>
> Hi!
>
> I want to access a configured dictionary in a lua authentication script.
>
> Unfortunately the documentation
> <https://doc.dovecot.org/admin_manual/lua/> does mention a dict
object
> but no way to get one.
>
> I also did not find any lua tests in dovecot's source code.  Is using
> the built-in dict not supported?
>
> Cheers,
>   Tobias Florek

Hi!

It's not yet possible to get dict objects on demand in Lua scripts.

Aki