Hi,
I host multiple domains using also qmailtoaster.
My table names are slightly different:
domain.com -> table name is domain_com
As you can see %d doesn't work for me.
Any help?
ZoukLover,
add to /var/www/html/roundcube/plugins/password/config.inc.php:
$rcmail_config['password_driver'] = 'sql';
$rcmail_config['password_db_dsn'] = 'mysql://vpopmailuser:password@localhost/vpopmail';
$emailuser=$_SESSION['username'];
$domain = split("@",$emailuser);
$dom_table = str_replace(".","_",$domain[1]);
$rcmail_config['password_query'] = "UPDATE $dom_table SET pw_passwd=%c, pw_clear_passwd=%p WHERE pw_name=%l LIMIT 1";
and create user vpopmailuser:
mysql> GRANT ALL ON vpopmail.* TO vpopmailuser@localhost IDENTIFIED BY 'password';
mysql> FLUSH PRIVILEGES;
work for me on roundcube 0.5.1 stable