Browse Source

Fix dovecot/roundcube internal server issue.

Raphael Schneeberger 7 years ago
parent
commit
9dd0ad67bc
1 changed files with 3 additions and 0 deletions
  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
     gpasswd -a dovecot mail
     cp -rf $hestiacp/dovecot /etc/
     cp -rf $hestiacp/dovecot /etc/
     cp -f $hestiacp/logrotate/dovecot /etc/logrotate.d/
     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*
     chown -R root:root /etc/dovecot*
     update-rc.d dovecot defaults
     update-rc.d dovecot defaults
     service dovecot start
     service dovecot start