Skip to content

Commit

Permalink
Merge pull request #1602 from ioannidesalex/patch-46
Browse files Browse the repository at this point in the history
Roundcube fail2ban fix
  • Loading branch information
serghey-rodin committed May 31, 2018
2 parents 5c7fd09 + eca2fdc commit eed9f3b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions install/vst-install-ubuntu.sh
Expand Up @@ -1153,6 +1153,9 @@ if [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then
mysql -e "GRANT ALL ON roundcube.*
TO roundcube@localhost IDENTIFIED BY '$r'"
sed -i "s/%password%/$r/g" /etc/roundcube/db.inc.php
touch /var/log/roundcube/errors
chmod 640 /var/log/roundcube/errors
chown www-data:adm /var/log/roundcube/errors
if [ "$release" = '16.04' ]; then
mv /etc/roundcube/db.inc.php /etc/roundcube/debian-db-roundcube.php
mv /etc/roundcube/main.inc.php /etc/roundcube/config.inc.php
Expand Down

0 comments on commit eed9f3b

Please sign in to comment.