Re: [Omail-webmail-news] Installation Problem.
Brought to you by:
swix
From: <put...@ho...> - 2003-06-12 02:51:56
|
No it's not working... As far I know that /vchkpw is only works with qmail-pop3d and qmail-popup. So I tried to change the script from : > my $vchkpw = "/home/vpopmail/bin/vchkpw"; to : > my $vchkpw = "/var/qmail/bin/qmail-pop3d"; and also > my $vchkpw = "/var/qmail/bin/qmail-popup"; Still no luck... Any one could help ?? Regards, Putri Naga ----- Original Message ----- From: "Carter Smithhart" <der...@de...> To: <put...@ho...> Sent: Tuesday, June 10, 2003 10:50 AM Subject: Re: [Omail-webmail-news] Installation Problem. > I think I sent this email to the maillist... Here it is: > > Putri, > > If you were using webmail2 (which hasn't had a release yet -- it is in > CVS though), I would recommend running authtest.pl. However, this isn't > webmail2, and I don't actually have vpopmail installed on any of my > machines.. > > Okay.. Before seeing if omail.pl has a problem, here's a simple test to > see if your authentication mechanism is working.. > > Put this into a file called authtest.pl, change the username and > password, add executable permissions, then run it. > > #!/usr/bin/perl > my $username = "fill in username"; > my $password = "fill in password"; > my $vchkpw = "/home/vpopmail/bin/vchkpw"; > my $tmpcmd='echo -e "'.$username.'\x00'.$password.'\x00\x00" | '. > $vchkpw.' '; > my $home_cmd=$tmpcmd.'/bin/pwd 3<&0'; > my $vuser_HOME=`$home_cmd`; > $vuser_HOME=~s/\n//g; > print "home is '$home'\n"; > > After you run this program, it should say something like: > home is '/home/blarblar' > > if it says: > home is '' > > then authentication through vchkpw isn't set up right. > > David Strang, if you've got a minute, since you're using vpopmail, > perhaps you could assist a bit.. > > Let me know if that helps, > > Carter |