mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
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:
parent
e6d6e19032
commit
fb11b194b3
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue