CHK_CYRUS(8)
π CHK_CYRUS π
okay bestie, welcome to chk_cyrus β section 8 of the Cyrus IMAP manual, and literally your new fave consistency-checking icon π
β¨ NAME β¨
chk_cyrus β Cyrus IMAP documentation
does a consistency check of the Cyrus IMAP mail spool. yep that's the whole vibe π
πΈ SYNOPSIS πΈ
chk_cyrus [ -C config-file ] [ -P partition | -M mailbox ]
π¦ DESCRIPTION π¦
so chk_cyrus is the one that runs a consistency check on the cyrus datastore, and it spits out a whole list of files/directories that should exist but literally don't π it's giving "where did they go" energy.
heads up tho, the tea is split:
- status messages go to stderr
- the list of files/directories goes to stdout
and that list?? you can hand it straight to a backup program to help with a partial restoration, for instance. so useful, no cap π«Ά
also chk_cyrus reads its configuration options out of the imapd.conf(5) file, unless you say otherwise with -C. periodt.
π OPTIONS π
-Cconfig-file β use the specified configuration file config-file instead of the defaultimapd.conf(5). iconic behaviour tbh β¨-Ppartition,--partition=partitionβ limit to partition partition. may not be specified with-M. pick a lane bestie π-Mmailbox,--mailbox=mailboxβ only check mailbox mailbox. may not be specified with-P. again. one or the other. π
IMPORTANT: the mailbox has to be specified in the internal format. so instead of writinguser/john/Trash@example.org, you're gonna want to writeexample.org!user.john.Trash. yes fr fr, that's the format. don't fight it π
π EXAMPLES π
chk_cyrus -P default
perform consistency checks on default partition. slay β¨
chk_cyrus -C /usr/local/etc/imapd-slot1.conf -P default
perform consistency checks on default partition using the specified configuration file. look at you customising π
chk_cyrus -M user.marysmith
perform consistency checks on mailbox user.marysmith. go marysmith go π¦
π SEE ALSO π
π AUTHOR π
The Cyrus Team, Nic Bernstein (Onlight), Jeroen van Meeuwen (Kolab Systems)
π COPYRIGHT π
1993β2026, The Cyrus Team
okay that's the whole page, mwah π this was Cyrus IMAP version 3.12.4, dated Sep 09, 2026 β go check those spools bestie, i believe in you π«ΆπΈπ
π¦ where this page comes from
- fedora 44: cyrus-imapd 3.12.4-1.fc44 Β· BSD-Attribution-HPND-disclaimer
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms