Re: access dict in lua auth script

2022-12-08 Thread Tobias Florek
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

Re: access dict in lua auth script

2022-11-16 Thread Aki Tuomi
> On 16/11/2022 13:46 EET Tobias Florek wrote: > > > Hi! > > I want to access a configured dictionary in a lua authentication script. > > Unfortunately the documentation > does mention a dict object > but no way to get one. > > I also did not f

access dict in lua auth script

2022-11-16 Thread Tobias Florek
Hi! I want to access a configured dictionary in a lua authentication script. Unfortunately the documentation 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