PDA

View Full Version : squirrelmail change password plugin


namu
06-26-2006, 10:07 AM
Bonjour,

I am quiet new to DirectAdmin, i was wondering if anyone had some experience in installing one of squirrelmail's plugins to allow end users to change their password. If now, what method if possible, to allow users to modify their own passwords.

DirectAdmin Support
06-26-2006, 01:19 PM
Hello,

If it's by squirrelmail .. it's not likely to work with DA's email passwords.

I do recally hearing of someone creating a Squirrelmail password plugin that uses DA's API to change their email passwords... I just can't recall who it was. Check the 3rd party scripts section to see if they've posted anything.

The API command they would use is here:
http://www.directadmin.com/features.php?id=229

Also, recently, a similar quota option was added:
http://www.directadmin.com/features.php?id=643

Both only need the email login/password to function, so the API can be used securely without needed your DA login/pass in the php scripts.

John

jlasman
06-26-2006, 06:11 PM
Or of course try inserting this code into the squirrelmail login page:
<p align="center"><a target="_blank" href="https://hostname.example.com:2222/CMD_CHANGE_EMAIL_PASSWORD">Change Your Email Password</a></p></body>
(where of course hostname.example.com should be replaced by your system hostname and domain name).

To see where to place the code, look here (https://da12.namelessnet.net/squirrelmail/src/login.php) and view source.

If you want to create it as a button you can create it using an empty form.

Jeff

namu
06-27-2006, 02:43 AM
\o/

thanks a bunch, i tried it, it works, i am happy.

just one thing, i prefered to modify this part of squirrelmail config

7. Provider link : http://www.squirrelmail.org/
8. Provider name : SquirrelMail

to something like:

7. Provider link : http://IP_orDomainName:2222/CMD_CHANGE_EMAIL_PASSWORD
8. Provider name : Change password


cheers. . .
: ]