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
> 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 FlorekHi! It's not yet possible to get dict objects on demand in Lua scripts. Aki
Getting back to the old topic.> It's not yet possible to get dict objects on demand in Lua scripts.I assume it's also not possible to get a predefined dict in Lua `auth_passdb_lookup` functions. Can this be added? This will make using Lua for pass- and userdb, and event push notification more powerful. Cheers, Tobi