[Dovecot] dovecot 1.2 Alpha4 shared folders

Timo Sirainen
2008-12-13T13:38:39Z

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?

> 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?

>   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?

> What should I put into /var/lib/dovecot/shared/mailboxes ?

You shouldn't touch it. SETACL command updates it.

> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL:
<http://dovecot.org/pipermail/dovecot/attachments/20081213/bf4c8230/attachment-0002.bin>