Skip to content

Commit

Permalink
Dovecot fix namespace inbox=yes only for Debian9
Browse files Browse the repository at this point in the history
  • Loading branch information
dpeca authored Nov 4, 2018
1 parent 8a1f834 commit 5170e5f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion install/vst-install-debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1079,7 +1079,9 @@ if [ "$dovecot" = 'yes' ]; then
cp -rf $vestacp/dovecot /etc/
cp -f $vestacp/logrotate/dovecot /etc/logrotate.d/
chown -R root:root /etc/dovecot*
sed -i "s#namespace inbox {#namespace inbox {\n inbox = yes#" /etc/dovecot/conf.d/15-mailboxes.conf
if [ "$release" -eq 9 ]; then
sed -i "s#namespace inbox {#namespace inbox {\n inbox = yes#" /etc/dovecot/conf.d/15-mailboxes.conf
fi
update-rc.d dovecot defaults
service dovecot start
check_result $? "dovecot start failed"
Expand Down

0 comments on commit 5170e5f

Please sign in to comment.