I use MySQL as my backend. I hacked squirrelmail to add a page that takes in the username ( from session ) and asks for the current password and new password. Then using SQL is check is the current password matches. If so update the new passwords in the database. else prompt him again.
Hope this helps. Regards Rakesh ----- Original Message ----- From: "X-Istence" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, May 30, 2004 9:26 AM Subject: Re: [vchkpw] Change passwd howto > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Patrick Donker wrote: > > Guys, > > > > I use qmail + vpopmail + courier-imapd + squirrelmail. > > My question is; what would be the easiest way to inplement a > > change-password option in Squirrel? I have found a plugin, but that is > > based on pam, which I dont use. I need something that uses vchkpw. My > > guess is that somebody on this list has solved this already before, so, > > why not ask ;) ? > > > > -Patrick > > > > There is no need to post your question to the list twice, i am pretty > sure we all read it, and even if we did not, then nobody knowns the answer. > > The easiest way? Well that all depends on how your vpopmail is setup. > > Do you use MySQL? cdb? PGSQL? These are all determining factors. > > For all of them there are different way's that it could be done. For the > cdb based one it would be a bit harder, but i bet it could be done some > way. Check out the new php module/vpopmail deamon method and see if that > could be an option. > > So far, all I know of is that plugin that uses PAM. > > X-Istence > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (FreeBSD) > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > > iD8DBQFAue8JJukONu5DUaQRAipzAJ993eUizQU+FTDiJhthr1wjx+oVugCgnDPw > Cy4e3bm3o62wLNvp/ZgO6wc= > =MJ8r > -----END PGP SIGNATURE----- >