Просмотр исходного кода

Fix dovecot/roundcube internal server issue.

Raphael Schneeberger 7 лет назад
Родитель
Сommit
9dd0ad67bc
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      install/hst-install-ubuntu.sh

+ 3 - 0
install/hst-install-ubuntu.sh

@@ -1180,6 +1180,9 @@ if [ "$dovecot" = 'yes' ]; then
     gpasswd -a dovecot mail
     cp -rf $hestiacp/dovecot /etc/
     cp -f $hestiacp/logrotate/dovecot /etc/logrotate.d/
+    if [ "$release" = '18.04' ]; then
+        rm -f /etc/dovecot/conf.d/15-mailboxes.conf
+    fi
     chown -R root:root /etc/dovecot*
     update-rc.d dovecot defaults
     service dovecot start