Section: Maintenance Commands (8)
Updated: Project Cyrus
Return to Main Contents
cyr_expire - expire messages and duplicate delivery database entries
is used to expire messages and duplicate delivery database entries.
also cleanses mailboxes of partially expunged messages
(when using the "delayed" expunge mode).
The expiration of messages is controlled by the
/vendor/cmu/cyrus-imapd/expire mailbox annotation which
specifies the age (in days) of messages in the given mailbox that
should be deleted. Any duplicate delivery database entries which
correspond to the mailbox are also deleted at the same frequency.
The value of the /vendor/cmu/cyrus-imapd/expire annotation is
inherited by all children of the given mailbox, so an entire mailbox
tree can be expired by seting a single annotation on the root of that
tree. If a mailbox does not have a
/vendor/cmu/cyrus-imapd/expire annotation set on it (or does not
inherit one), then no messages are expired from the mailbox.
reads its configuration options out of the
file unless specified otherwise by -C.
- -C config-file
Read configuration options from config-file.
- -E expire-days
Prune the duplicate database of entries older than expire-days. This
value is only used for entries which do not have a corresponding
/vendor/cmu/cyrus-imapd/expire mailbox annotation.
- -X expunge-days
Expunge previously deleted messages older than expunge-days
(when using the "delayed" expunge mode). The default is 0 (zero)
days, which will expunge all previously deleted messages.
Enable verbose output.
- SEE ALSO
linux.jgfs.net manual pages