CHK_CYRUS(8)
β¨ CHK_CYRUS β¨
okay bestie, gather round, because this one is genuinely so useful and nobody talks about it π
chk_cyrus lives in the Cyrus IMAP docs family, and its whole thing is: perform a consistency check of the Cyrus IMAP mail spool. that's it. that's the gig. she checks, she reports, she does not fix. π
πΈ SYNOPSIS πΈ
chk_cyrus [ -C config-file ] [ -P partition | -M mailbox ]
π DESCRIPTION π
so chk_cyrus runs a consistency check on the cyrus datastore, and spits out a list of all the files and directories that should exist but literally do not. it's giving "where did they go" energy π
the way output works here is split, and this part matters so pay attention:
- status messages go to
stderr - the list of files/directories goes to
stdout
why do we care? because you can hand that list straight to a backup program to help with a partial restoration. iconic. π
and by default, chk_cyrus reads its config options out of the imapd.conf(5) file β unless you tell it otherwise with -C. π¦
β¨ OPTIONS β¨
-Cconfig-file β use this specific config file (that's config-file, the one you name) instead of the defaultimapd.conf(5).-Ppartition,--partition=partition β only look at partition partition. π«Ά heads up: you may not use this together with-M.-Mmailbox,--mailbox=mailbox β only check the single mailbox mailbox. heads up: you may not use this together with-P.
IMPORTANT: π the mailbox has to be in the internal format. so instead of writinguser/john/Trash@example.org, you're gonna want to writeexample.org!user.john.Trash. fr fr, do not skip this, it will not vibe with you otherwise. π
π EXAMPLES π
- ``` chk_cyrus -P default
run consistency checks on the <hotpink>`default`</hotpink> partition.
2. ```
chk_cyrus -C /usr/local/etc/imapd-slot1.conf -P default
run consistency checks on the default partition, but using the config file you specified.
- ``` chk_cyrus -M user.marysmith
run consistency checks on the mailbox <hotpink>`user.marysmith`</hotpink>.
---
# π¦ SEE ALSO π¦
- `imapd.conf(5)`
- `master(8)`
iykyk, go read those next bestie π
---
# π AUTHOR π
- The Cyrus Team
- Nic Bernstein (Onlight)
- Jeroen van Meeuwen (Kolab Systems)
---
# β COPYRIGHT β
1993β2026, The Cyrus Team
---
and that's the whole page, no cap π this was **Cyrus IMAP** version **3.12.3**, dated **Jul 15, 2026**, and she ate π
β¨ bye bestie, go check your spool π«Ά
π¦ where this page comes from
- ubuntu stonking: cyrus-common 3.12.3-3build1 Β· CMU
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms