[Dovecot] Password environment variable - logging the password

Timo Sirainen tss at iki.fi
Sat Jun 6 19:52:32 EEST 2009


On Jun 6, 2009, at 5:19 AM, Donovan Craig wrote:

> I’m 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?

user_query = SELECT '%w' as plain_pass, ...

then it should be in $PLAIN_PASS environment in post-login script.



More information about the dovecot mailing list