Displaying 1 result from an estimated 1 matches for "do_updatepwd".
2011 Mar 22
1
Change password cheme
...eed to be updated, so make a new password
for them isn't possible.
I was thinking of an automated script that would update the database
after every login.
So we did this:
dovecot.conf:
mail_executable = /usr/local/etc/updatepwd.sh
updatepwd.sh:
#!/bin/sh
$USER $PASSWORD|/usr/local/etc/do_updatepwd.pl
exec /usr/local/libexec/dovecot/imap "$@"
(do_updatepwd.pl is a perl script that makes a sha256 from the second
argument, and then update the mysql-query)
However: the password is not in the ENVIROMENT anymore.
I changed in dovecot the settings:
auth_debug = yes
auth_debug_p...