[Dovecot] format of file dict
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. 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?
-frank
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.
participants (2)
-
Frank Cusack
-
Timo Sirainen