Skip to content

Commit eed9f3b

Browse files
Merge pull request hestiacp#1602 from ioannidesalex/patch-46
Roundcube fail2ban fix
2 parents 5c7fd09 + eca2fdc commit eed9f3b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

install/vst-install-ubuntu.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1153,6 +1153,9 @@ if [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then
11531153
mysql -e "GRANT ALL ON roundcube.*
11541154
TO roundcube@localhost IDENTIFIED BY '$r'"
11551155
sed -i "s/%password%/$r/g" /etc/roundcube/db.inc.php
1156+
touch /var/log/roundcube/errors
1157+
chmod 640 /var/log/roundcube/errors
1158+
chown www-data:adm /var/log/roundcube/errors
11561159
if [ "$release" = '16.04' ]; then
11571160
mv /etc/roundcube/db.inc.php /etc/roundcube/debian-db-roundcube.php
11581161
mv /etc/roundcube/main.inc.php /etc/roundcube/config.inc.php

0 commit comments

Comments
 (0)