Skip to content

Commit fb11b19

Browse files
authored
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.
1 parent e6d6e19 commit fb11b19

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

install/vst-install-debian.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,6 +1069,7 @@ if [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then
10691069
mysql -e "CREATE DATABASE roundcube"
10701070
mysql -e "GRANT ALL ON roundcube.* TO roundcube@localhost IDENTIFIED BY '$r'"
10711071
sed -i "s/%password%/$r/g" /etc/roundcube/db.inc.php
1072+
sed -i "s/localhost/$servername/g" /etc/roundcube/plugins/password/config.inc.php
10721073
mysql roundcube < /usr/share/dbconfig-common/data/roundcube/install/mysql
10731074
chmod a+r /etc/roundcube/main.inc.php
10741075
if [ "$release" -eq 8 ]; then

0 commit comments

Comments
 (0)