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