cyr_expire(8) - Linux man page
*
Name
cyr_expire - expire messages and duplicate delivery database entriesSynopsis
cyr_expire [ -C config-file ] [ -D delete-days ] -E expire-days [ -X expunge-days ] [ -p " mailbox-prefix" ] [ -v ]Description
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.
Cyr_expire reads its configuration options out of the imapd.conf(5) file unless specified otherwise by -C.
Options
- -C config-file
- Read configuration options from config-file.
- -D delete-days
- Remove previously deleted mailboxes older than delete-days (when using the "delayed" delete mode).
- -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).
- -x
- Do not expunge messages even if using delayed expunge mode (reduces the IO hit considerably, allowing you to run cyr_expire frequently to clean up the duplicate database without overloading your server)
- -p mailbox-prefix
- Only find mailboxes starting with this prefix. e.g. "user.justgotspammedlots"
- -v
- Enable verbose output.
- -a
- Skip the annotation lookup, so all /vendor/cmu/cyrus-imapd/expire annotations are ignored entirely. It behaves as if they were not set, so only expire-days is considered for all mailboxes.
Files
- /etc/imapd.conf
See Also
imapd.conf(5), cyrus-master(8)