If you have version with Lua support, you can make a passdb with lua that
base64 encodes the plain password. Then it should work.
Aki
On 17/04/2024 15:56 EEST Gandalf Corvotempesta via dovecot
<dovecot@dovecot.org> wrote:
Il giorno mer 17 apr 2024 alle ore 14:22 Benny Pedersen via dovecot
<dovecot@dovecot.org> ha scritto:
i am not an expert in postlogin scripts, but please show it
The issue is not the postlogin script, but dovecot. It's dovecot that
tries to expand a variable BEFORE sending it to the script
userdb {
args = username_format=%u /etc/dovecot/passwd
driver = passwd-file
#default_fields = plain_pass=%w
}
if it not working simple remove % in passwords would not
solve it ?
Seriously ? oviously asking all customers to change their password to
remove a char is not a solution......
Il giorno mer 17 apr 2024 alle ore 14:22 Benny Pedersen via dovecot
<dovecot@dovecot.org> ha scritto:
>
Gandalf Corvotempesta via dovecot skrev den 2024-04-17 08:
31:
im following the docs to change the password
schema
docs says that i have to pass the clear password
to the post login
script
but using %w doesn't work if the clear password
has a "%" inside as
it's
being expanded as variabile
in example with a password "test%Ypass" dovecot
is trying to expand %Y
before passing it to the post login script
i am not an expert in postlogin scripts, but please show it
if it not working simple remove % in passwords would not
solve it ?
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org