---
name: "chk_cyrus"
section: "8"
platform: "linux"
package: "cyrus-common-2.4"
version: "2.4.16-4+deb7u2"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/chk_cyrus"
---

# chk\_cyrus(8)

perform a consistency check of the cyrus mailstore

 \*

## NAME

chk\_cyrus - perform a consistency check of the cyrus mailstore

## SYNOPSIS

**chk\_cyrus** \[ **-C** *config-file* \] \[ **-P** *partition* \] \[ **-M** *mailbox* \]

## DESCRIPTION

*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 messagess 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 restoral, for instance.

*Chk\_cyrus* reads its configuration options out of the [*imapd.conf*(5)](/imapd.conf/5.md) file unless specified otherwise by **-C**.

## OPTIONS

- **-C** *config-file*

  Read configuration options from *config-file*.

- **-P** *partition*

  Run the consistency check for only the given partition. May not be specified with -M. **-M** *mailbox* Run the consistency check for only the given mailbox. May not be specified with -P.

## FILES

- **/etc/imapd.conf**

  ## SEE ALSO

**[imapd.conf(5)](/imapd.conf/5.md)**, **[cyrmaster(8)](/cyrmaster/8.md)**
