Posts Tagged ‘qmail’

Howto: Configure plugin password roundcube with vpopmail(mysql) + qmailtoaster

Saturday, June 5th, 2010

This plugin very useful for your user account in roundcube, they can do self change their password. without this, you’ll be troubled with their request for change password…LOL.

Note. Plugin password in roundcube version 0.3.1 has been include in package installation. Just enable and configure it.

If you want to install roundcube as your webmail interface, please goto http://www.nixnux.or.id/2010/06/05/howto-install-roundcubemail-from-svn-on-ubuntu-lucid-10-04/

1. Edit main Configuration File Roundcube

Activation Plugin Password Roundcube.

~]# cd /var/www/roundcube/config
~]# vim main.inc.php

[...]
$rcmail_config['plugins'] = array('password');
[...]

2. Edit Plugin Password Configuration File

~]# cd /var/www/roundcube/plugins/password
~]# cp config.inc.php.dist config.inc.php
~]# vim config.inc.php

[...]
$rcmail_config['password_driver'] = 'sql';
$rcmail_config['password_db_dsn'] = 'mysql://vpopmail:$PASSWORD@localhost/vpopmail';
[...]
$rcmail_config['password_query'] = 'UPDATE your_domain_tld  SET pw_passwd=%c, pw_clear_passwd=%p WHERE pw_name=%l LIMIT 1';
[...]

3. Testing Change password

This is my screenshot.

Gotchaaaaa….trust me, It’s WORK.