Roundcube change password

3 posts / 0 new
Last post
#1 Mon, 02/22/2016 - 22:58
Luiz Lopes

Roundcube change password

Hi,

This is something I couldn´t find the answer and didn´t make it work.

I cannot make the plugin 'password' work for roundcube. Everything is up to date (feb/2016). Followed the links: http://totallynoob.com/roundcube-password-plugin-for-virtualmin/ http://trac.roundcube.net/browser/github/plugins/password http://www.virtualmin.com/files/roundcube_virtualmin_password_change.txt https://www.virtualmin.com/node/23427 https://www.virtualmin.com/node/19391

Tryed to chown as root.root, root.www-data and root.'mydomain.com.br' (which is the username of the virtual server). Nothing worked.

The configuration is: ubuntu 14.04 don´t have ssl cert. mail with '@'

The log returns: -- BEGIN LOG-- [22-Feb-2016 18:41:53 -0300]: PHP Error: Password plugin: Unable to execute /home/revistahsm.com.br/public_html/webmail/plugins/password/helpers/chgvirtualminpasswdArray ( [0] => Virtual server www.revistahsm.com.br does not exist [1] => [2] => Modifies a mail, FTP or database user in a Virtualmin domain. [3] => [4] => virtualmin modify-user --domain domain.name [5] => --user username [6] => [--pass new-password | --passfile password-file] [7] => [--disable | --enable] [8] => [--real real-name] [9] => [--add-mysql database] [10] => [--remove-mysql database] [11] => [--enable-email] [12] => [--disable-email] [13] => [--add-email address] [14] => [--remove-email address] [15] => [--recovery address@offsite.domain | --no-recovery] [16] => [--newuser new-username] [17] => [--enable-ftp] [18] => [--disable-ftp] [19] => [--add-group group]* [20] => [--del-group group]* [21] => [--send-update-email] [22] => [--no-check-spam | --check-spam] [23] => [--add-forward address]* [24] => [--del-forward address]* [25] => [--local | --no-local] [26] => [--autoreply "messsage" | --no-autoreply] [27] => [--autoreply-start time | --no-autoreply-start] [28] => [--autoreply-end time | --no-autoreply-end] [29] => [--autoreply-period secs | --no-autoreply-period] ) in /home/revistahsm.com.br/public_html/webmail/plugins/password/drivers/virtualmin.php on line 80 (POST /webmail/?_task=settings&_action=plugin.password-save?_task=&_action=) --END LOG--

This workaround works on servers that has ssl cert installed (http://www.roundcubeforum.net/index.php?topic=22358.0). But actually I don´t have one.

Thanks,

Luiz

Tue, 02/23/2016 - 09:22
Luiz Lopes

The only way I could make it work is changing the PHP execution mode to mod_php (apache´s user). Virtualmin -> Server configuration -> website options I know it has some security issues with this configuration, but the server is for only one website/domain.

Using php FCGId didn´t work. Even setting chown to root.virtual-server-unix-user.

Conclusion: virtualmin have to fix this usability gap. Yes, virtualmin - not roundcube. This is an important thread. No client/customer have to access domain.com:20000 to change the password. It have to work within the mail client (roundcube).

Thanks,

Luiz

Tue, 12/18/2018 - 07:46
assad

Any update on this?

Topic locked