From c32fa673e15272779de2934d410fff72cb6702c3 Mon Sep 17 00:00:00 2001 From: Alexandr Loskutov Date: Sun, 4 Nov 2018 08:21:36 +0200 Subject: [PATCH] Fix Dovecot namespace inbox=yes for CentOS 7 Co-Authored-By: dpeca --- install/vst-install-rhel.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install/vst-install-rhel.sh b/install/vst-install-rhel.sh index 3aaad8084..385534ec5 100755 --- a/install/vst-install-rhel.sh +++ b/install/vst-install-rhel.sh @@ -1127,6 +1127,9 @@ if [ "$dovecot" = 'yes' ]; then cp -rf $vestacp/dovecot /etc/ cp -f $vestacp/logrotate/dovecot /etc/logrotate.d/ chown -R root:root /etc/dovecot* + if [ "$release" -eq 7 ]; then + sed -i "s#namespace inbox {#namespace inbox {\n inbox = yes#" /etc/dovecot/conf.d/15-mailboxes.conf + fi chkconfig dovecot on service dovecot start check_result $? "dovecot start failed"