DOKK / manpages / debian 10 / cyrus-common / cyrus-chk_cyrus.8.en
CHK_CYRUS(8) Cyrus IMAP CHK_CYRUS(8)

chk_cyrus - Cyrus IMAP documentation

Perform a consistency check of the Cyrus IMAP mail spool.

chk_cyrus [ -C config-file ] [ -P partition | -M mailbox ]

chk_cyrus is used to perform a consistency check on the cyrus datastore, and output a list of files/directories that are expected to exist, but do not. Status messages are output to stderr, the list of files/directories is output to stdout. This list can be passed to a backup program to aid a partial restoration, for instance.

chk_cyrus reads its configuration options out of the imapd.conf(5) file unless specified otherwise by -C.

Use the specified configuration file config-file rather than the default imapd.conf(5).

Limit to partition partition. May not be specified with -M.

Only check mailbox mailbox. May not be specified with -P.

IMPORTANT:

The mailbox must be specified in the internal format, so rather than specifying user/john/Trash@example.org, you will want to specify example.org!user.john.Trash.



chk_cyrus -P default
Perform consistancy checks on default partition.


chk_cyrus -C /usr/local/etc/imapd-slot1.conf -P default
Perform consistancy checks on default partition using specified configuration file.


chk_cyrus -M user.marysmith
Perform consistancy checks on mailbox user.marysmith.


imapd.conf(5), master(8)

The Cyrus Team, Nic Bernstein (Onlight), Jeroen van Meeuwen (Kolab Systems)

1993-2017, The Cyrus Team

August 10, 2018 3.0.8