namspace management
A. Schulze
sca at andreasschulze.de
Fri Aug 15 17:14:39 UTC 2014
Timo Sirainen:
> On 13 Aug 2014, at 09:58, Steffen Kaiser
>> location =
>> maildir:/data/mail_public/Maildir/:INDEXPVT=~/.dovecot.index.public/:CONTROL=~/.dovecot.index.public/
>
> Not recommended, because it also moves dovecot-keywords file so any
> keywords added to the public folder won't be shared across users.
OK, moved only the subscription file to a place next to the Maildir:
/data/mail_public/Maildir contain public mailboxes
/data/mail_public/Maildir/dovecot-acl allow access ( contain only
"authenticated lrs" )
/data/mail_public/subscriptions contain the subscription files
namespace {
inbox = yes
prefix = INBOX/
separator = /
}
namespace {
location =
maildir:/data/mail_public/Maildir/:INDEXPVT=~/.dovecot.public/:SUBSCRIPTIONS=../subscriptions/%Lu
prefix = PUBLIC/
separator = /
type = public
}
namespace {
list = children
location =
maildir:%%h/Maildir:INDEXPVT=~/.dovecot.shared/%%u/:CONTROL=~/.dovecot.shared/%%u/
prefix = SHARED/%%u/
separator = /
type = shared
}
Andreas
More information about the dovecot
mailing list