Hello,
in order to have an own program to verify login and password of a
pop3-session I want to write a perl script. as far I understood vchkpw
is just checking login and passwort for authentification and is
changedir-ing to the appropriate Maildir. After that the subprogram is
launched.
Now I tried the following:
/var/qmail/bin/qmail-popup mail.host.com /var/vpopmail/bin/vchkpw pwd
In this case after login the current path is printed.
But if I use my perl-script to print all environment variables I always
get "-ERR authorization failed":
/var/qmail/bin/qmail-popup mail.host.com /var/vpopmail/bin/vchkpw
/home/martenl/printenv
What's the reason for that?
Regards,
Marten Lehmann