Update u_e-dovecot-public_folder.md
Dieser Commit ist enthalten in:
Ursprung
963e0ef7b2
Commit
5d5f164869
1 geänderte Dateien mit 5 neuen und 1 gelöschten Zeilen
|
@ -19,7 +19,7 @@ namespace {
|
|||
|
||||
The new mailbox in the public namespace will be auto-subscribed by users.
|
||||
|
||||
To allow all authenticated users access full to that new mailbox, run:
|
||||
To allow all authenticated users access full to that new mailbox (not the whole namespace), run:
|
||||
|
||||
```
|
||||
docker-compose exec dovecot-mailcow doveadm acl set -A "Public/Develcow" "authenticated" lookup read write write-seen write-deleted insert post delete expunge create
|
||||
|
@ -27,6 +27,8 @@ docker-compose exec dovecot-mailcow doveadm acl set -A "Public/Develcow" "authen
|
|||
|
||||
Adjust the command to your needs if you like to assign more granular rights per user (use `-u user@domain` instead of `-A` for example).
|
||||
|
||||
## Allow authenticated users access to the whole public namespace
|
||||
|
||||
To allow all authenticated users access full access to the whole public namespace and its subfolders, create a new `dovecot-acl` file in the namespace root directory:
|
||||
|
||||
Open/edit/create `/var/lib/docker/volumes/mailcowdockerized_vmail-vol-1/_data/public/dovecot-acl` (adjust the path accordingly) to create the global ACL file with the following content:
|
||||
|
@ -37,4 +39,6 @@ authenticated kxeilprwts
|
|||
|
||||
`kxeilprwts` equals to `lookup read write write-seen write-deleted insert post delete expunge create`.
|
||||
|
||||
You can use `doveadm acl set -u user@domain "Public/Develcow" user=user@domain lookup read` to limit access for a single user. You may also turn it around to limit access for all users to "lr" while only some users are allowed full access.
|
||||
|
||||
See [Dovecot ACL](https://doc.dovecot.org/settings/plugin/acl/) for further information about ACL.
|
||||
|
|
Laden …
In neuem Issue referenzieren