On 30.1.2014, at 5.23, Thomas Leuxner <tlx@leuxner.net> wrote:
- Thomas Leuxner <tlx@leuxner.net> 2014.01.28 08:29:
$ cat global-acl INBOX owner lrwstiekxap Public* group=PublicMailboxAdmins lrwsik
Following up on this, there seems to be an issue with separators. Mailbox creation crashes, while it used to work fine with the same configuration w/o the 'global-acl' file. Interestingly enough same syntax works for the public namespace (e.g. "mailbox create -u tlx@leuxner.net Public/Test" ):
$ doveadm acl get -u tlx@leuxner.net INBOX ID Global Rights owner admin create delete expunge insert lookup post read write write-deleted write-seen
$ doveadm mailbox create -u tlx@leuxner.net "Shops/Test" doveadm(tlx@leuxner.net): Panic: file acl-global-file.c: line 163 (acl_global_file_find_rights): assertion failed: (file->last_refresh_time != 0)
Fixed: http://hg.dovecot.org/dovecot-2.2/rev/c69ca1f5bc34
Also I was thinking that maybe it could support a syntax like:
Public,Public/* owner lrw
Or with more weirder mailbox names use quoting:
"foo,bar baz",another owner lrw