Current time: 04-27-2024, 02:08 PM Hello There, Guest! (LoginRegister)


Post Reply 
[HowTo] Password Change Roundcube 0.5 (and 0.4.2)
Author Message
Sweil Offline
Junior Member
*

Posts: 24
Joined: Mar 2009
Reputation: 2
Post: #1
[HowTo] Password Change Roundcube 0.5 (and 0.4.2)
Update! Tested with Roundcube 0.5 & 0.5.1 => works!
Update! New driver for ispCP 1.0.7 and newer!

As the previous Version is not working for 0.4.2 I made up a new (more robust) one, based on roundube's default password plugin.

1. Download script from attachment depending on your ispCP version:
- for 1.0.7 and newer: ispcp-from-1.0.7.php (beta)
- for older versions: ispcp-to-1.0.6.php

2. Rename file to "ispcp.php" and upload to "[roundcube]/plugins/password/drivers/".

3. Open "[roundcube]/plugins/password/config.inc.php" and change 'password_driver' to "ispcp":
PHP Code:
$rcmail_config['password_driver'] = 'ispcp'

4. Set up the MySQL-Login by changing
PHP Code:
$rcmail_config['password_db_dsn'] = 'mysql://roundcube:password@localhost/ispcp'
(make sure the choosen MySQL-Connection has permissions to modify at least the 'mail-users'-table in the ispcp-database)
and adding
PHP Code:
// ispCP Driver options
$rcmail_config['ispcp_db_pass_key'] = '';
$rcmail_config['ispcp_db_pass_iv'] = ''
at the end of the the file using the keys from "/var/www/ispcp/gui/include/ispcp-db-keys.php".

5. Change any other options you need (e.g. 'password_confirm_current' or 'password_minimum_length').

6. Enable the plugin in "[roundcube]/config/main.inc.php" by modifying the 'plugins' option like this:
PHP Code:
$rcmail_config['plugins'] = array('password'); 


Attached File(s)
.php  ispcp-from-1.0.7.php (Size: 4.5 KB / Downloads: 291)
.php  ispcp-to-1.0.6.php (Size: 3.14 KB / Downloads: 63)
(This post was last modified: 03-19-2011 08:20 PM by Sweil.)
10-17-2010 09:52 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
[HowTo] Password Change Roundcube 0.5 (and 0.4.2) - Sweil - 10-17-2010 09:52 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)