(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | Reference: http://roundcubeforum.net/index.php?topic=9.0 | + | Reference: http://roundcubeforum.net/forum/index.php?topic=9.0 |
== Download the Patch == | == Download the Patch == | ||
Line 5: | Line 5: | ||
wget http://www.poison.be/wp-content/uploads/2006/05/roundcubemail-0.1beta-changepassword.patch | wget http://www.poison.be/wp-content/uploads/2006/05/roundcubemail-0.1beta-changepassword.patch | ||
− | If the above link is broken please refer to [http://roundcubeforum.net/index.php?topic=9.0 this] topic on the [http://roundcubeforum.net RoundCube Forum] or get it [[Media:roundcubemail-0.1beta-changepassword.patch|Here]] | + | If the above link is broken please refer to [http://roundcubeforum.net/forum/index.php?topic=9.0 this] topic on the [http://roundcubeforum.net/forum/index.php RoundCube Forum] or get it [[Media:roundcubemail-0.1beta-changepassword.patch|Here]] |
Line 17: | Line 17: | ||
* Read & Edit the Change Password Function | * Read & Edit the Change Password Function | ||
vi change_password_function.inc | vi change_password_function.inc | ||
+ | |||
+ | |||
+ | ''// The host of the database''<br> | ||
+ | define ('RCUBE_EXT_CHANGE_PASS_HOST', 'localhost');<br> | ||
+ | |||
+ | ''// The username to connect to the database''<br> | ||
+ | define ('RCUBE_EXT_CHANGE_PASS_USER', 'postfix');<br> | ||
+ | |||
+ | ''// The password to connect to the database''<br> | ||
+ | define ('RCUBE_EXT_CHANGE_PASS_PASS', ''''Your-Postfix-MySQL-User-Password-Here'''');<br> | ||
+ | |||
+ | ''// The name of the database''<br> | ||
+ | define ('RCUBE_EXT_CHANGE_PASS_NAME', 'postfix');<br> | ||
+ | |||
+ | |||
Latest revision as of 17:49, 17 March 2007
Reference: http://roundcubeforum.net/forum/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
// The host of the database
define ('RCUBE_EXT_CHANGE_PASS_HOST', 'localhost');
// The username to connect to the database
define ('RCUBE_EXT_CHANGE_PASS_USER', 'postfix');
// The password to connect to the database
define ('RCUBE_EXT_CHANGE_PASS_PASS', 'Your-Postfix-MySQL-User-Password-Here');
// The name of the database
define ('RCUBE_EXT_CHANGE_PASS_NAME', 'postfix');
(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%"');