DOVEADM-ACL(1) | Dovecot | DOVEADM-ACL(1) |
doveadm-acl - Manage Access Control List (ACL)
doveadm [-Dv] [-f formatter] acl command [OPTIONS] [ARGUMENTS]
The doveadm acl COMMANDS can be used to execute various Access Control List related actions.
Global doveadm(1) options:
This command uses by default the output formatter table.
Command specific options:
When the SQL userdb module is used make sure that the iterate_query setting in /etc/dovecot/dovecot-sql.conf.ext matches your database layout. When using the LDAP userdb module, make sure that the iterate_attrs and iterate_filter settings in /etc/dovecot/dovecot-ldap.conf.ext match your LDAP schema. Otherwise doveadm(1) will be unable to iterate over all users.
This allows an administrator to execute doveadm(1) mail commands through the given socket.
The ACLs are processed in the precedence given above, so for
example if you have given read-access to a group, you can still remove that
from specific users inside the group.
Group-override identifier allows you to override users' ACLs. Probably the
most useful reason to do this is to temporarily disable access for some
users. For example:
user=timo rw group-override=tempdisabled
Now if timo is a member of the tempdisabled group, he has no access to the mailbox. This wouldn't be possible with a normal group identifier, because the user=timo would override it.
doveadm acl add [-u user|-A|-F file] [-S socket_path] mailbox id right [right ...]
Add ACL rights to the mailbox/id. If the id already exists, the existing rights are preserved.
doveadm acl debug [-u user|-A|-F file] [-S socket_path] mailbox
This command can be used to debug why a shared mailbox isn't accessible to the user. It will list exactly what the problem is.
doveadm acl delete [-u user|-A|-F file] [-S socket_path] mailbox id
Remove the whole ACL entry for the mailbox/id.
doveadm acl get [-u user|-A|-F file] [-S socket_path] [-m] mailbox
Show all the ACLs for the mailbox.
doveadm acl recalc [-u user|-A|-F file] [-S socket_path]
Make sure the user's shared mailboxes exist correctly in the acl_shared_dict.
doveadm acl remove [-u user|-A|-F file] [-S socket_path] mailbox id right [right ...]
Remove the specified ACL rights from the mailbox/id. If all rights are removed, the entry still exists without any rights.
doveadm acl rights [-u user|-A|-F file] [-S socket_path] mailbox
Show the user's current ACL rights for the mailbox.
doveadm acl set [-u user|-A|-F file] [-S socket_path] mailbox id right [right ...]
Set ACL rights to the mailbox/id. If the id already exists, the existing rights are replaced.
Report bugs, including doveconf -n output, to the Dovecot Mailing List <dovecot@dovecot.org>. Information about reporting bugs is available at: http://dovecot.org/bugreport.html
Additional resources:
2015-05-09 | Dovecot v2.3 |