I have almost the same, COS7 with Roundcube from zip but my version is
1.1.12. 

This is what I took note when I instaled it: 

Database creation;
php.ini changes following
https://github.com/roundcube/roundcubemail/wiki/Installation;
Install some needed packages: yum -y install php-xml php-intl php-mcrypt
php-mbstring php-ldap 

Lines changed/added at plugins/password/config.inc.php:
$config['password_minimum_length'] = 6;
$config['password_db_dsn'] =
'mysql://vpopmail:PASSWORD@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″; 

Em 2020-09-17 11:51, Biju Jose | WHITES Systems escreveu:

> 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

Reply via email to