From LedHed's Wiki
Reference: http://roundcubeforum.net/index.php?topic=9.0
Download the Patch
cd /var/www/roundcube wget http://www.poison.be/wp-content/uploads/2006/05/roundcubemail-0.1beta-changepassword.patch
If the above link is broken please refer to this topic on the RoundCube Forum or get it Here
Apply The Patch
patch -p1 < roundcubemail-0.1beta-changepassword.patch
Configure Settings
cd ext/
- Read & Edit the Change Password Function
vi change_password_function.inc
(If you are using Clear Text Passwords change this line)
define ('RCUBE_EXT_CHANGE_PASS_UPDATEQUERY', 'UPDATE mailbox SET password = "%md5%" WHERE username = "%user%" AND password = "%oldmd5%"');
to
define ('RCUBE_EXT_CHANGE_PASS_UPDATEQUERY', 'UPDATE mailbox SET password = "%clear%" WHERE username = "%user%" AND password = "%old%"');