1CYR_EXPIRE(8) System Manager's Manual CYR_EXPIRE(8)
2
3
4
6 cyr_expire - expire messages and duplicate delivery database entries
7
9 cyr_expire [ -C config-file ] -E expire-days [ -X expunge-days ] [ -v ]
10
12 Cyr_expire is used to expire messages and duplicate delivery database
13 entries. Cyr_expire also cleanses mailboxes of partially expunged mes‐
14 sages (when using the "delayed" expunge mode). The expiration of mes‐
15 sages is controlled by the /vendor/cmu/cyrus-imapd/expire mailbox anno‐
16 tation which specifies the age (in days) of messages in the given mail‐
17 box that should be deleted. Any duplicate delivery database entries
18 which correspond to the mailbox are also deleted at the same frequency.
19
20 The value of the /vendor/cmu/cyrus-imapd/expire annotation is inherited
21 by all children of the given mailbox, so an entire mailbox tree can be
22 expired by seting a single annotation on the root of that tree. If a
23 mailbox does not have a /vendor/cmu/cyrus-imapd/expire annotation set
24 on it (or does not inherit one), then no messages are expired from the
25 mailbox.
26
27 Cyr_expire reads its configuration options out of the imapd.conf(5)
28 file unless specified otherwise by -C.
29
31 -C config-file
32 Read configuration options from config-file.
33
34 -E expire-days
35 Prune the duplicate database of entries older than expire-days.
36 This value is only used for entries which do not have a corre‐
37 sponding /vendor/cmu/cyrus-imapd/expire mailbox annotation.
38
39 -X expunge-days
40 Expunge previously deleted messages older than expunge-days
41 (when using the "delayed" expunge mode). The default is 0
42 (zero) days, which will expunge all previously deleted messages.
43
44 -v Enable verbose output.
45
46 -a Skip the annotation lookup, so all /vendor/cmu/cyrus-
47 imapd/expire annotations are ignored entirely. It behaves as if
48 they were not set, so only expire-days is considered for all
49 mailboxes.
50
52 /etc/imapd.conf
53
55 imapd.conf(5), cyrus-master(8)
56
57
58
59CMU Project Cyrus CYR_EXPIRE(8)