[Dovecot] Using Checkpassword with a PHP script
Hi,
im a newbee using dovecot. I want to use checkpassword, but i've no idea how to use it.
Can somebody post a script where i can see how to include a PHP file to verify the password and user.
Im useing Dovecot 1.0.15 and somebody have canfigure for me Checkpassword. There is an empty checkpassword and checkpassword-reply file and i have no idea what to do with it?
Muhammed
Hi,
im using a bash shell script for checkpassword and if i write: exit 0 checkpassword doesnt authentificate the user. Ive also set the environment variables USER and SHELL. What should i do?
On Thu, 2009-03-26 at 01:11 +0100, Muhammed Alat wrote:
Hi,
im using a bash shell script for checkpassword and if i write: exit 0 checkpassword doesnt authentificate the user. Ive also set the environment variables USER and SHELL. What should i do?
exit 0 is not the right way. Read how the checkpassword interface is supposed to work, for example from http://wiki.dovecot.org/AuthDatabase/CheckPassword
participants (3)
-
Muhammed Alat
-
Muhammed Alat
-
Timo Sirainen