[Dovecot] Password environment variable - logging the password
Timo Sirainen
tss at iki.fi
Sun Jun 7 11:01:03 EEST 2009
On Jun 6, 2009, at 4:04 PM, Donovan Craig 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.
Hmm. I guess it's possible that the password is lost by then.. Then
another possibility would be to use passdb sql + userdb prefetch and:
password_query = SELECT .., '%w' as userdb_plain_pass, ..
More information about the dovecot
mailing list