Skip to content

Commit e2f64e5

Browse files
sirainencmouse
authored andcommitted
lazy_expunge: Update acl settings
1 parent 48015ca commit e2f64e5

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

docs/core/plugins/lazy_expunge.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,30 +56,29 @@ namespace inbox {
5656
mailbox .EXPUNGED {
5757
autoexpunge = 7days
5858
autoexpunge_max_mails = 100000
59+
60+
# Define ACL so that user cannot list the .EXPUNGED mailbox
61+
acl owner {
62+
rights = rwstipekxa
63+
}
5964
}
6065
}
6166
6267
mail_plugins {
6368
lazy_expunge = yes
6469
acl = yes
6570
}
71+
acl_driver = vfile
6672
6773
# Move messages to an .EXPUNGED mailbox
6874
lazy_expunge_mailbox = .EXPUNGED
6975
7076
plugin {
71-
# Define ACL so that user cannot list the .EXPUNGED mailbox
72-
acl = vfile:/etc/dovecot/dovecot.acl
73-
7477
# Expunged messages most likely don't want to be included in quota:
7578
quota_rule = .EXPUNGED:ignore
7679
}
7780
```
7881

79-
```[/etc/dovecot/dovecot.acl]
80-
.EXPUNGED owner rwstipekxa
81-
```
82-
8382
:::
8483

8584
You could also leave the permissions empty if you don't want to allow clients

0 commit comments

Comments
 (0)