Changing password_vesta_host to server hostname

''Vesta Password Driver for Roundcube'' will try to make a HTTPS request to Vesta, in order to change mail password.
In /etc/roundcube/plugins/password/config.inc.php you have:
$rcmail_config['password_vesta_host'] = 'localhost';

That 'localhost' must be changed to server hostname, because HTTPS to localhost will not works if your server hostname is not 'localhost', because SSL certs are not for 'localhost' but for server hostname.

This line will change localhost to server hostname, and 'Vesta Password driver for Roundcube' will works.
This commit is contained in:
dpeca 2016-07-21 00:45:26 +02:00 committed by GitHub
commit fb11b194b3

View file

@ -1069,6 +1069,7 @@ if [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then
mysql -e "CREATE DATABASE roundcube"
mysql -e "GRANT ALL ON roundcube.* TO roundcube@localhost IDENTIFIED BY '$r'"
sed -i "s/%password%/$r/g" /etc/roundcube/db.inc.php
sed -i "s/localhost/$servername/g" /etc/roundcube/plugins/password/config.inc.php
mysql roundcube < /usr/share/dbconfig-common/data/roundcube/install/mysql
chmod a+r /etc/roundcube/main.inc.php
if [ "$release" -eq 8 ]; then