We put this in data/conf/dovecot/extra.conf:
plugin {
acl = vfile:/etc/dovecot/dovecot-acl-global.conf
}
namespace {
type = public
separator = /
list = yes
prefix = News/
location = maildir:/var/vmail/public/example.com/news:INDEXPVT=~/public/example.com/news
subscriptions = no
hidden = no
list = children
mailbox "Magazin1" {
auto = subscribe
}
}
data/conf/dovecot/dovecot-acl-global.conf:
# News
News user=doveadm@example.com lrwstipekxa
News/* user=doveadm@example.com lrwstipekxa
News/* user=user1@example.com lrwstipekx
Works!
Does data/conf/dovecot/dovecot-acl-global.conf persist after update?