Author |
|
tahunasky Newbie
Joined: 13 July 2011 Location: New Zealand
Online Status: Offline Posts: 25
|
Posted: 24 February 2012 at 8:39pm | IP Logged
|
|
|
Hi,
I use postfix/dovecot. I want to add a menu option ( to load a plugin - php script) to the SETTINGS screen to enable users to change their passwords. I already have the PHP script that works, so all i need to do is add menu, retrieve username and then run script after user has input old and new passwords.
How can i do this ?
Thanks
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 26 February 2012 at 11:55pm | IP Logged
|
|
|
WebMail already includes the code for changing passwords, it is used when Sieve filtering is enabled. You might need to check js/settings/user-settings-screen.js file as a starting point of the modifications.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
tahunasky Newbie
Joined: 13 July 2011 Location: New Zealand
Online Status: Offline Posts: 25
|
Posted: 29 February 2012 at 2:27pm | IP Logged
|
|
|
Hi, Thanks for the reply.. If i dont use sieve filtering does the password code still work ?
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 01 March 2012 at 12:17am | IP Logged
|
|
|
Not sure as to what code you're speaking of. You can re-use the interface rendered for password change via Sieve, you'll need to modify the conditions there of course. And since you already have some script for changing password, replace Sieve calls with code which calls your script.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
tahunasky Newbie
Joined: 13 July 2011 Location: New Zealand
Online Status: Offline Posts: 25
|
Posted: 01 March 2012 at 10:27am | IP Logged
|
|
|
Hi, I use postfixadmin with a MYSQL db backend for usernames, forwarding, autoreply/vacation etc..
So i will try and replace the sieve code with my scripts.. and hopefully it will work and i can share with others here who have a similar postfix/dovecot setup.
Thanks for the help/info.
|
Back to Top |
|
|
PatrikIden Newbie
Joined: 28 May 2012 Location: Sweden
Online Status: Offline Posts: 9
|
Posted: 28 May 2012 at 1:26pm | IP Logged
|
|
|
Igor wrote:
WebMail already includes the code for changing passwords, it is used when Sieve filtering is enabled. You might need to check js/settings/user-settings-screen.js file as a starting point of the modifications.
--
Regards,
Igor, AfterLogic Support |
|
|
What is Sieve filtering
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 31 May 2012 at 1:39am | IP Logged
|
|
|
Please see this and this documentation pages. We assume our ManageSieve Server is used, and though it's mainly about WebMail Pro, you might be able to use it with Lite as well.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|