Current situation  (I'm using vmailmgr, but it should be the same
with checkpasswd):

andromeda:~ > telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK <[EMAIL PROTECTED]>
user neotest:testserver.ch
+OK 
pass neo
+OK 
quit
+OK 
Connection closed by foreign host.

-> login = neotest:testserver.ch
-> passw = neo

Now, how could I check if the password is correct, only using checkvpw
or checkpassword, and not via pop3 ?

I tried a few other solutions suggested by messages on the ML,
and on www.qmail.org but I didn't get it work :

andromeda:~ > TCPREMOTEHOST="aaa"
andromeda:~ > export TCPREMOTEHOST

andromeda:~ > echo -e "neotest\000neo\000" > tm6
andromeda:~ > echo -e "neotest\000nedo\000" > tm7
andromeda:~ > checkvpw 3< tm6 && /bin/ls
andromeda:~ > checkvpw 3< tm7 && /bin/ls

andromeda:~ > echo -e "neotest:testserver.ch\000neo\000" > tm6
andromeda:~ > echo -e "neotest:testserver.ch\000ne3o\000" > tm7
andromeda:~ > checkvpw 3< tm6 && /bin/ls
andromeda:~ > checkvpw 3< tm7 && /bin/ls

-> nothing happens, event if the password is correct.

Once this issue is solved, there will be a webmail solution for
vmailmgr... :)

Thanks for any hint!,
Olivier

Reply via email to