7 Jun
2009
7 Jun
'09
2:04 a.m.
On Jun 6, 2009, at 5:19 AM, Donovan Craig wrote: Im using the mysql userdb, but the passwords are stored in MD5. I want to be able to get the password within the post login script, not from the log file.
Is there any way to do this?
Timo Sirainen wrote: user_query = SELECT '%w' as plain_pass, ... then it should be in $PLAIN_PASS environment in post-login script.
This would be great if it worked, but unfortunately this %w is empty when I try to use it.
From the documentation, it seems that this variable is only available during auth.
http://wiki.dovecot.org/Variables
Is there any other way I can get the plain password within the postloginscripting?
Thanks again.
Donovan