mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 18:49:17 -07:00
Dovecot fix namespace inbox=yes only for Debian9
This commit is contained in:
parent
8a1f8349ec
commit
5170e5f5aa
1 changed files with 3 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue