[Dovecot] postlogin script

Selcuk Yazar selcuk.yazar at gmail.com
Thu Dec 8 10:40:26 EET 2011


Hi,

i applied settingsin below  but dovecot says that

 " prefetch(.. at ....edu.tr,IP_ADDRESS): passdb didn't return userdb entries,
trying the next userdb
 "

so  PLAINTEXT_PASS is empty

thanks in advance.




> 1) You need to enable userdb prefetch and make it work:
> http://wiki2.dovecot.org/UserDatabase/Prefetch
>
> 2) Once you can successfully log in with userdb prefetch enabled, add
> another field to pass_attrs:
>
> pass_attrs = ..., =userdb_plaintext_pass=%w
>
> 3) Now in your post-login script you should have PLAINTEXT_PASS
> environment containing the password.
>
>


-- 
Selçuk YAZAR
http://www.selcukyazar.blogspot.com


More information about the dovecot mailing list