Browse Source

Fix dovecot service failure due to invalid mailbox config on Debian 10

Fixes issue #644
Kristan Kenney 6 years ago
parent
commit
0dd681907d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      install/hst-install-debian.sh

+ 1 - 1
install/hst-install-debian.sh

@@ -1452,7 +1452,7 @@ if [ "$dovecot" = 'yes' ]; then
     cp -rf $HESTIA_INSTALL_DIR/dovecot /etc/
     cp -f $HESTIA_INSTALL_DIR/logrotate/dovecot /etc/logrotate.d/
     chown -R root:root /etc/dovecot*
-    if [ "$release" -eq 9 ]; then
+    if [ "$release" -eq 9 ] || [ "$release" -eq 10 ]; then
         rm -f /etc/dovecot/conf.d/15-mailboxes.conf
     fi
     update-rc.d dovecot defaults