Re: Variable expansion on %w

2024-04-21 Thread Aki Tuomi via dovecot
Yeah. We are changing it for 2.4 though, but until that you need to use this workaround.   Aki On 21/04/2024 09:18 EEST Gandalf Corvotempesta via dovecot wrote:     so it's not possible without using lua? i think this is a bug honestly   Il mer 17 apr 2024,

Re: Variable expansion on %w

2024-04-20 Thread Gandalf Corvotempesta via dovecot
so it's not possible without using lua? i think this is a bug honestly Il mer 17 apr 2024, 16:16 Gandalf Corvotempesta < gandalf.corvotempe...@gmail.com> ha scritto: > Il giorno mer 17 apr 2024 alle ore 15:31 Aki Tuomi > ha scritto: > > If you have version with Lua support, you can make a passdb

Re: Variable expansion on %w

2024-04-17 Thread Gandalf Corvotempesta via dovecot
Il giorno mer 17 apr 2024 alle ore 15:31 Aki Tuomi ha scritto: > If you have version with Lua support, you can make a passdb with lua that > base64 encodes the plain password. Then it should work. I'm not using lua currently, and i'm planning to move the server to a new one with users on DB, tha

Re: Variable expansion on %w

2024-04-17 Thread Aki Tuomi via dovecot
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 wrote:     Il giorno mer 17 apr 2024 alle ore 14:22 Benny Pedersen via dovecot

Re: Variable expansion on %w

2024-04-17 Thread Gandalf Corvotempesta via dovecot
Il giorno mer 17 apr 2024 alle ore 14:22 Benny Pedersen via dovecot 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 = usernam

Re: Variable expansion on %w

2024-04-17 Thread Benny Pedersen via dovecot
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

Re: Variable expansion on %w

2024-04-16 Thread Gandalf Corvotempesta via dovecot
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

Re: Variable expansion on %w

2024-04-16 Thread Aki Tuomi via dovecot
Can you explain what you are trying to do?    Aki On 16/04/2024 21:36 EEST Gandalf Corvotempesta via dovecot wrote:     guys any help ? Is not possible to change the password schema when using passwd file ?   Il giorno sab 13 apr 2024 alle ore 14:48 Gan

Re: Variable expansion on %w

2024-04-16 Thread Gandalf Corvotempesta via dovecot
guys any help ? Is not possible to change the password schema when using passwd file ? Il giorno sab 13 apr 2024 alle ore 14:48 Gandalf Corvotempesta ha scritto: > > any clue? > > Il gio 11 apr 2024, 21:57 Gandalf Corvotempesta > ha scritto: >> >> I'm following the guide for changing the passwo

Re: Variable expansion on %w

2024-04-13 Thread Gandalf Corvotempesta via dovecot
any clue? Il gio 11 apr 2024, 21:57 Gandalf Corvotempesta < gandalf.corvotempe...@gmail.com> ha scritto: > I'm following the guide for changing the password schema. > Everything works as expected (i'm using a static passwd file), but > when the plain password has a % inside, dovecot is trying to

Variable expansion on %w

2024-04-11 Thread Gandalf Corvotempesta via dovecot
I'm following the guide for changing the password schema. Everything works as expected (i'm using a static passwd file), but when the plain password has a % inside, dovecot is trying to expand that, triggering an error: Apr 11 21:33:55 mail02 dovecot: pop3(x)<3962994><4soGPNcVXsoln9W6>: Error: Fai