From 4f54ff4f3f926d2b656b38bf3a0f2f0f22a706bb Mon Sep 17 00:00:00 2001 From: dpeca Date: Mon, 24 Oct 2016 22:19:24 +0200 Subject: [PATCH] Changing password_vesta_host to server hostname during installation Ported from Debian installer --- install/vst-install-rhel.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/vst-install-rhel.sh b/install/vst-install-rhel.sh index d8cd52a18..d75f14df6 100755 --- a/install/vst-install-rhel.sh +++ b/install/vst-install-rhel.sh @@ -1159,6 +1159,7 @@ if [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then cd /usr/share/roundcubemail/plugins/password wget $vestacp/roundcube/vesta.php -O drivers/vesta.php wget $vestacp/roundcube/config.inc.php -O config.inc.php + sed -i "s/localhost/$servername/g" /usr/share/roundcubemail/plugins/password/config.inc.php chmod a+r /etc/roundcubemail/* chmod -f 777 /var/log/roundcubemail r="$(gen_pass)"