"Francis P. Ling" wrote:
>
> Hi Ken and Kenneth,
>
> Just some discoveries ...
>
> I used vpopmail-4.98-1 (use vpasswd.c from the latest dist, not v4.94)
> modified lines as follows:
>
> <snip>
> vpopmail.c:1729: sprintf(TmpBuf2, "%s/Maildir/sqwebmail-pass", dir);
> vpopmail.c:1730: if ( (fs = fopen(TmpBuf2, "w")) != NULL ) {
> vpopmail.c:1733: chown(TmpBuf2,uid,gid);
> </snip>
>
> Ken, the third line must also be changed to TmpBuf2 instead of TmpBuf1,
> otherwise the ownership will be root:root or whoever that called vpasswd
> and sqwebmail will failed to login.
>
> OK, this is what's I've done.
>
> 1. I use the vpasswd to change the password at the command line.
>
> The result, I can telnet to port 110 use the new pass. I can also use the
> new pass at sqwebmail login. No problem!
>
> 2. I use qmailadmin, change the password. I telnet to port 110, login with
> new pass, no problem. Login to sqwebmail, use new pass, BIG PROBLEM, old
> password still applies. Some problem with qmailadmin method ...
>
> Ken, can you let me know which C file of qmailadmin that handles the
> password changing stuff and which binaries of vpopmail does it called to
> change the password?
>
> Thanks.
>
> -----------------------------------------------
> Francis P. Ling [EMAIL PROTECTED]
> Network Administrator +6084-333366
> Pan Sarawak Co Sdn Bhd www.pansar.com.my
> -----------------------------------------------
vpopmail does not create any shared object library files.
So if you change anything in vpopmail code, and it changes
the library file. you will need to install the newly
compiled version (make install-strip). You will also
need to recompile any programs which had linked in
the vpopmail library. Otherwise you will not be using
the new code you compiled.
I've tested the latest downloadable code and the problems
you are describing do not exist.
Ken Jones