"M. Guven Mucuk" wrote:
>
> Hello,
>
> I'm using:
> daemontools-0.70, ezmlm-0.53, ezmlm-idx-0.40, gdbm-1.8.0, qmail-1.03,
> qmailadmin-0.42, sqwebmail-1.2.4,
> ucspi-tcp-0.88, vpopmail-4.9.8 with MySQL (3.23.26-beta).
>
> My problem:
> Everything works fine, except:
> After a succesful qmailadmin login for domain, i change a user's password.
> When i try to login via sqwebmail with that user & the new password, login
> fails. (old password is still working).
>
> (P.S.: While changing users password @qmailadmin, i get no error messages.)
>
> Thank you,
> M. Guven Mucuk
> [EMAIL PROTECTED]
There are a couple things you should track down to find out
exactly what is happening (instead of guessing).
Both vpopmail and sqwebmail have multiple ways to authenticate
a user. vpopmail also knows about the one sqwebmail-pass file
which is stored in the users Maildir that contains the sqwebmail
users password. Vpopmail must be compiled to set that password.
I think this is the default method. If you just ran
$vpopmail> ./configure
vpopmail would update the sqwebmail-pass file with a
<tab><encrypted password>
To check the above:
0) ls -l ~vpopmail/domains/domain/user/Maildir/sqwebmail-p*
or it might be in user/sqwebmail-p*
you will have to check.
1) ~vpopmail/bin/vpasswd user@domain password
This will update the vpopmail password file or database. you
said this was working, so you wouldn't need to test it, unless
you want to be complete. It should also update that sqwebmail
password file. So check the time again..
2) Repeat step Zero.
The above tests will show if vpopmail is updating everything
we expect it to do.
If the above works,check sqwebmail.
Sqwebmail has a wide range of configure options.
Go read the INSTALL file twice. Then you'll start
to get the hang of it.
You'll notice one section that talks about auth modules.
Read that AGAIN! Now, check the options you built your
current sqwebmail binary with. Not what is set now, but
what you are actually running.
Check what you do against what I describe.
1) disable every single authentication method
2) enable vchkpw method
3) --enable-webpass=vpopmail
That's it.
I bet you didn't enable webpass!
Ken Jones