On Fri, 2010-01-22 at 15:38 -0500, Frank Cusack wrote:> For shared (between users) mailboxes, I am using a file dict.
>
> plugin {
> acl_shared_dict = file:/etc/dovecot/acl_shared_dict/shared.db
> }
>
> What is the format of this file? I would like to manage it directly
> rather than have SETACL update it.
Will you also allow users to use SETACL command? If so, you should do
locking the same way as Dovecot.
> I see lines which describe a
> sharing entry (the format of those looks obvious) but also lines
> with just a '1'.
>
> Do I just need to separate entries by lines with just '1' in them?
The format is:
key
value
key
value
..
For acl_shared_dict the key is the important part, value is always 1.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL:
<http://dovecot.org/pipermail/dovecot/attachments/20100122/d43ff3a0/attachment-0002.bin>