search for: response_from_templ

Displaying 3 results from an estimated 3 matches for "response_from_templ".

2017 Dec 02
0
Lua Auth
...nitialize quota: Invalid quota root quota: Unknown quota backend: yes I simply changed the space to an underscore as a workaround, but I'm curious if there's a better way. I tried various quoting without success. Didn't try escaping yet. 3) Can you elaborate on the "auth_request#response_from_template(template)" and "auth_request#var_expand(template)" functions? Specifically how to use them. I'm guessing that I could've used one of them to work around #2 (that it would have done the escaping for me) Thanks! ----- 1) I'll have to check this. 2) Instead of s...
2017 Nov 30
3
Lua Auth
Op 29-11-2017 om 6:17 schreef Aki Tuomi: >> On November 29, 2017 at 4:37 AM Mark Moseley <moseleymark at gmail.com> wrote: >> >> >> Just happened to be surfing the docs and saw this. This is beyond awesome: >> >> https://wiki2.dovecot.org/AuthDatabase/Lua >> >> Any words of wisdom on using it? I'd be putting a bunch of mysql logic in
2017 Dec 22
0
Lua Auth
...info between auth_userdb_lookup and auth_passdb_lookup. I was trying to use a table with auth_passdb_lookup() so I could take advantage of prefetch and thought that if auth_passdb_lookup didn't take a table, I could stash data away and then un-stash it in auth_userdb_lookup Thanks! > 3) response_from_template expands a key=value string into table by var > expanding values. > > > var_expand can be used to interpolation for any purposes. it returns a > string. see https://wiki.dovecot.org/Variables for details on how to use > it. > > > Individual variable access is more effic...