[Dovecot] dovecot 1.2 Alpha4 shared folders

Diederick van Dijk
2008-12-13T14:17:31Z

Timo Sirainen wrote:
> On Wed, 2008-12-10 at 12:56 +0100, Diederick van Dijk wrote:
>
>> namespace:
>>   type: shared
>>   separator: /
>>   prefix: Shared/%%u/
>>   location: maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u
>>   list: yes
>>   subscriptions: yes
>>
>
> Looks ok.
>
>
>> auth default:
>>   passdb:
>>     driver: pam
>>   userdb:
>>     driver: passwd
>>
>
> So you're using system users. Do the users have +rx permissions to
other
> users' maildirs?
>
>
Not yetm but easyly corrected of course.
>> plugin:
>>   quota: maildir:User quota
>>   quota_rule: *:storage=1048576
>>   quota_rule2: Trash:storage=102400
>>   acl_shared_dict: file:/var/lib/dovecot/shared/mailboxes
>>
>
> Do all users have +rwx permissions to /var/lib/dovecot/shared?
>

Yes
>
>>   acl: vfile:/home/%%d/Maildir
>>
>
> %%d doesn't work here. If you're not going to use global ACLs, you
can
> just set "acl = vfile".
>
>
>> A list doesn't display any folder in Shared.
>>
>
> It doesn't show anything until there are shared mailboxes. Are there
> any?
>
>
How do I setup these, symlinks ? Or is it in the acl ?
>> What should I put into /var/lib/dovecot/shared/mailboxes ?
>>
>
> You shouldn't touch it. SETACL command updates it.
>
>
OK.
>> Should I put some file(s) is the users Maildir directory ?
>>
>
> I'm not sure how well the shared mailbox support works with system
> users, or how well it will ever work. You're going to have permission
> problems. You could create dovecot-shared files with proper permissions,
> but that file isn't automatically created by SETACL command and I'm
not
> really sure if it even should.
>

This means that you only tested it with a virtual user setup ?
If so, I can switch over to this setup although it is a lot overkill for
only 5 users.