[Omail-devel] Can't auth using vmailmgr although output of vauthenticate is correct.
Brought to you by:
swix
From: nednieuws | c. <ch...@ne...> - 2004-06-09 11:08:33
|
This is what I tried: root@usnj1 ~ # echo -e "domain.nl\000user\000pass\000" | /usr/local/bin/vauthenticate UID=1300 GID=1300 USER=vuser HOME=/home/vuser MAILDIR=./users/user VUSER=user Wed Jun 9 12:51:02 2004 - [69767-O] (213.84.95.120,) UNKNOWNUSER - login - started - version 0.98.5 Wed Jun 9 12:51:02 2004 - [69767-O] (213.84.95.120,) UNKNOWNUSER - login - vauth login FAILED for user @ domain.nl Wed Jun 9 12:51:02 2004 - [69767-O] (213.84.95.120,) UNKNOWNUSER - login - FAILED login - user This is how I've configure omail.pl (suid): ---[omail.pl begin]--- my $vmailmgr = 1; # if you use Bruce's package... my $vmailmgr_old = 0; # ...with old style passwd file (flat text) my $vauthenticate = '/usr/local/bin/vauthenticate'; # ...or the new passwd.cdb (binary) ($vmailmgr_old = 0) ---[omail.pl end]--- Thought I'd paste this in too as I saw discussions about this in the list. The test case as described above does not use a password which begins with a number. There is at least one person that /does/ use a password which begins with a number. Should I modify the lines below? ---[omail.pl begin]--- if ($vmailmgr && !$vmailmgr_old && !$vpopmail) { my $command = 'echo -e "'. $domainname .'\x00'. $username .'\x00'. $password .'\x00" | ' .$vauthenticate; my $output = `$command`; if (!$output) { $passcorrect = 0; writelog("vauth login FAILED for $username \@ $domainname"); ---[omail.pl end]--- I've installed: FreeBSD 4.9-RELEASE qmail 1.03 with SPAMCONTROL 2.212 oMail-webmail 0.98.5 vmailmgr 0.96.9 -- Regards, Charles. |