Your question belongs to the dovecot mailing list.

On Fri, Mar 28, 2025 at 11:20 AM Anton Shevtsov <[email protected]> wrote:

> I used sogo without shared folders some time ago. All work fine.
>
> old dovecot config:
>
> mail_home=/var/mail/%d/%n
> mail_location =  
> maildir:/var/mail/%d/%n:UTF-8:INBOX=/var/mail/%d/%n/Inboxmail_plugins = acl
> protocol imap {
>   mail_plugins = $mail_plugins
> }
>
> All work fine.
>
> Now I want to add shared folder functionality. I am defining namespaces
> and doing it wrong (maybe)
>
> new dovecot config:
>
> mail_home=/var/mail/%d/%n
> mail_location =  
> maildir:/var/mail/%d/%n:UTF-8:INBOX=/var/mail/%d/%n/Inboxmail_plugins = 
> aclmail_debug=yes
> namespace inbox {
>   type = private
>   separator = /
>   prefix =
>   inbox = yes
> }
> namespace {
>   type = shared
>   separator = /
>   prefix = shared/%%u/
>
>   # wrong
>   #location = 
> maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u:INDEXPVT=~/Maildir/shared/%%u  
> # wrong again
>   location = maildir:%%h/:INDEX=~/%%u  subscriptions = no
>   list = children
> }
>
> protocol imap {
>   mail_plugins = $mail_plugins imap_acl acl
> }
>
> plugin {
>   acl = vfile
>   acl_shared_dict = file:/var/mail/%d/shared-mailboxes.db
> }
>
>
>
> I can set access right for shared folder (see attach)
> but i can see shared folder in subscriptions (see other attach)
>
> --
> *Anton*
>


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
 In an Internet failure case, the #1 suspect is a constant: DNS.
"Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
[How to ask smart questions:
http://www.catb.org/~esr/faqs/smart-questions.html]

Reply via email to