mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
Fix Dovecot namespace inbox=yes for CentOS 7
Co-Authored-By: dpeca <dpeca@users.noreply.github.com>
This commit is contained in:
parent
5170e5f5aa
commit
c32fa673e1
1 changed files with 3 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue