On 05/08/2024 10:00, zaxwat93--- via dovecot wrote:
Thank you for explanation. Unfortunately it is better not to touch this script,
so I will wait for the fix
_______________________________________________
dovecot mailing list [email protected]
To unsubscribe send an email [email protected]
Hi
I stated one thing wrong in my summary "Strange to say for the third db
it doesn't find a match and does setup the filter."
That part was not correct since I had maybe a typo in my config. But
that gave me a clue for another workaround. If the "args" parameter is
different in each passdb, the current code seems to be working.
You can duplicate the script under different names or even create 2
symlinks to the same script. I didn't try it with php which I don't have
installed.
passdb db1 {
driver = checkpassword
args = /usr/local/libexec/dovecot/checkpassword
}
passdb db2 {
driver = checkpassword
args = /usr/local/libexec/dovecot/checkpassword1
username_filter = [email protected]
default_fields = domain=local.one
override_fields = [email protected]
}
passdb db3 {
driver = checkpassword
args = /usr/local/libexec/dovecot/checkpassword2
username_filter = [email protected]
default_fields = domain=local.one
override_fields = [email protected]
}
John
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]