From LedHed's Wiki
Jump to: navigation, search
(Configure Settings)
 
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]]
  
  

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%"');