You can also use the array syntax to export fields, which is the
["reason"]="something"
then dovecot will treat this as an array of fields and spaces can be in the
value.
Aki
> On 05/02/2025 11:14 EET Arkadiusz Miśkiewicz via dovecot
> wrote:
>
>
> On 23/01/2025 16:30, Aki Tuomi wrote:
>
On 23/01/2025 16:30, Aki Tuomi wrote:
I was kinda hoping it would've shown bit more details. But, looks like you've
ran into a bug. Lua passdb does not export fields in case return value is not
OK or NEXT. I'll file this to your bug tracker.
Also it seems that the code in
src/auth/db-lua.c:a
I was kinda hoping it would've shown bit more details. But, looks like you've
ran into a bug. Lua passdb does not export fields in case return value is not
OK or NEXT. I'll file this to your bug tracker.
Aki
> On 23/01/2025 17:20 EET Arkadiusz Miśkiewicz via dovecot
> wrote:
>
>
> On 23/01
On 23/01/2025 14:23, Aki Tuomi wrote:
Can you post auth_debug=yes logs?
Attaching here (as quotation):
Jan 23 15:10:24 webx dovecot[10752]: auth: Debug: client in: AUTH 1 PLAIN
service=imapsession=qZ/XK2As7rsKFhKWlip=10.22.18.200
rip=10.22.18.150 lport=143
Can you post auth_debug=yes logs?
Aki
> On 23/01/2025 13:26 EET Arkadiusz Miśkiewicz via dovecot
> wrote:
>
>
> Hello.
>
>
> Trying to pass reason response via lua by passing it at
> dovecot.auth.PASSDB_RESULT_USER_DISABLED like:
>
>
> function auth_password_verify(request, password)
>
Hello.
Trying to pass reason response via lua by passing it at
dovecot.auth.PASSDB_RESULT_USER_DISABLED like:
function auth_password_verify(request, password)
return dovecot.auth.PASSDB_RESULT_USER_DISABLED, "reason=custom_message"
end
function auth_userdb_lookup(request)
return dovecot