[Dovecot] Password environment variable - logging the password

Donovan Craig donovan at go4.com.au
Sun Jun 7 02:04:43 EEST 2009


>> 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


More information about the dovecot mailing list