@@ -12,9 +12,8 @@ dovecotlinks:
12
12
The lazy expunge plugin provides a "second-chance" to recover messages that
13
13
would otherwise be deleted from a mailbox by user action.
14
14
15
- It does this by moving the message to a defined location (either a mailbox, or
16
- a namespace -- see below for further details) when a user deletes the message
17
- from a mailbox.
15
+ It does this by moving the message to a defined location when a user deletes
16
+ the message from a mailbox.
18
17
19
18
This behavior is useful for a variety of reasons:
20
19
@@ -33,21 +32,19 @@ should be used to prune the mailbox to control storage usage.
33
32
34
33
## Configuration
35
34
36
- ### Storage Locations
37
-
38
- #### Mailbox
35
+ ### Storage Location
39
36
40
37
Messages that are expunged are moved to a single mailbox.
41
38
42
- This is the simplest configuration. The mailbox is created automatically.
39
+ The mailbox is created automatically.
43
40
44
41
You probably also want to hide it with an [[ link,acl]] from the user, if
45
42
recovery is only expected to be an action performed by an admin/operator.
46
43
47
44
To move to a mailbox, do NOT add a trailing delimiter to the
48
45
[[ setting,lazy_expunge_mailbox]] setting.
49
46
50
- ##### Example Configuration
47
+ #### Example Configuration
51
48
52
49
::: code-group
53
50
@@ -130,15 +127,13 @@ See [[plugin,quota]].
130
127
131
128
Doveadm can be used to manually clean expunge storage.
132
129
133
- Example to delete all messages in ` .EXPUNGED ` namespace older than one day:
130
+ Example to delete all messages in ` .EXPUNGED ` mailbox older than one day:
134
131
135
132
``` sh
136
- doveadm expunge mailbox ' .EXPUNGED/* ' savedsince 1d
133
+ doveadm expunge mailbox ' .EXPUNGED' savedsince 1d
137
134
```
138
135
139
136
### Autoexpunge
140
137
141
- Set autoexpunge configuration for expunge storage to automatically clean
138
+ Set [[ setting,mailbox_autoexpunge ]] configuration to automatically clean
142
139
old messages.
143
-
144
- See [[ link,namespaces]] .
0 commit comments