Skip to content

Commit

Permalink
Fix Dovecot namespace inbox=yes for CentOS 7
Browse files Browse the repository at this point in the history
Co-Authored-By: dpeca <dpeca@users.noreply.github.com>
  • Loading branch information
alex-connor and dpeca committed Nov 4, 2018
1 parent 5170e5f commit c32fa67
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions install/vst-install-rhel.sh
Expand Up @@ -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"
Expand Down

6 comments on commit c32fa67

@dpeca
Copy link
Collaborator

@dpeca dpeca commented on c32fa67 Nov 7, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@alex-connor
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@dpeca
Copy link
Collaborator

@dpeca dpeca commented on c32fa67 Nov 7, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@008
Copy link

@008 008 commented on c32fa67 Nov 22, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

@plutocrat
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should also probably happen in Ubuntu 18.04 install script? Fixes a problem with roundcube

Please sign in to comment.