Hi Leonardo,
I have current version qmailtoaster on CentOS 7, and Roundcube Webmail 1.4.8
installed from source zipfile.
In plugins/password directory, copied config.inc.php.dist to config.inc.php
$config['password_driver'] = 'sql'; ( It was left as it is )
$config['password_db_dsn'] =
'mysql://vpopmail:YOURPASSWORD@localhost/vpopmail'; ( changed the password )
$emailuser=$_SESSION['username'];
$domain = split("@",$emailuser);
$dom_table = str_replace(".","_",$domain[1]);
Added the above 3 lines
$config['password_query'] = "UPDATE $dom_table SET pw_passwd=%c,
pw_clear_passwd=%p WHERE pw_name=%l LIMIT 1"; ( updated this line )
Roundcubemail was not loading, only getting a white screen.
Commented this line
// $domain = split("@",$emailuser);
Roundcube started working again.
Can you help to find where is the mistake? Is there any settings to change in
php.ini or something?
Best Regards
Biju Jose
Mobile : 9895 990 272
From: Leonardo <[email protected]>
Sent: 17 September 2020 18:17
To: [email protected]
Cc: Biju Jose | WHITES Systems <[email protected]>
Subject: Re: [qmailtoaster] roundcubemail password plugin
config/config.inc.php:
$config['plugins'] = array('attachment_reminder', 'managesieve', 'markasjunk',
'newmail_notifier', 'password', 'show_additional_headers');
plugins/password/config.inc.php:
$config['password_driver'] = 'sql';
$config['password_db_dsn'] = 'mysql://vpopmail:YOURPASSWORD@localhost/vpopmail';
$emailuser=$_SESSION['username'];
$domain = split("@",$emailuser);
$dom_table = str_replace(".","_",$domain[1]);
$config['password_query'] = "UPDATE $dom_table SET pw_passwd=%c,
pw_clear_passwd=%p WHERE pw_name=%l LIMIT 1";
I guess those are the main variables, let me know if you need something more.
Em 2020-09-17 05:43, Biju Jose | WHITES Systems escreveu:
Hi,
Can anyone please share the config.inc.php settings for me to copy the
settings to change password from rouncubemail ?
TIA
Biju Jose
Mobile : 9895 990 272