Permalink
Browse files

Fix Dovecot namespace inbox=yes for CentOS 7

Co-Authored-By: dpeca <dpeca@users.noreply.github.com>
  • Loading branch information...
alex-connor and dpeca committed Nov 4, 2018
1 parent 5170e5f commit c32fa673e15272779de2934d410fff72cb6702c3
Showing with 3 additions and 0 deletions.
  1. +3 −0 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"

4 comments on commit c32fa67

@dpeca

This comment has been minimized.

Collaborator

dpeca replied Nov 7, 2018

@alex-connor
i hope you checked if path to file is the same :)

@alex-connor

This comment has been minimized.

Collaborator

alex-connor replied Nov 7, 2018

@dpeca
Of course, first I checked on my server;)

@dpeca

This comment has been minimized.

Collaborator

dpeca replied Nov 7, 2018

@alex-connor
Great, thank you :)
I couldn't find a time to test on CentOS, mostly because all my servers are on Debian :)

@alex-connor

This comment has been minimized.

Collaborator

alex-connor replied Nov 7, 2018

@dpeca
;)
I use CentOS on all servers =P

Please sign in to comment.