CTL_CYRUSDB(8)
π CTL_CYRUSDB(8) π
okay bestie, welcome to ctl_cyrusdb from the Cyrus IMAP manual (section 8, admin commands, iykyk) β it's the little tool that lets you do administrative operations directly on Cyrus IMAP databases. no middleman. just you and the database. periodt.
β¨ NAME β¨
ctl_cyrusdb β Cyrus IMAP documentation
Perform administrative operations directly on Cyrus IMAP databases.
πΈ SYNOPSIS πΈ
ctl_cyrusdb [ -C config-file ] -c
ctl_cyrusdb [ -C config-file ] -r [ -x ]
π¦ DESCRIPTION π¦
ctl_cyrusdb is the girlboss utility for running various administrative operations on the Cyrus IMAP databases. she's not here to chat, she's here to work.
ctl_cyrusdb reads its configuration options out of the imapd.conf(5) file unless you tell it otherwise with -C. and the configdirectory option in imapd.conf(5) is what decides the default location of the Cyrus databases β so that's where she'll go looking. no cap. π
π OPTIONS π
-Cconfig-file β use the specified configuration file config-file instead of the defaultimapd.conf(5). like, pick your own adventure file. ποΈ-r,--recoverβ recover the database after an application or system failure. also does database cleanups, like removing mailbox reservations (and the associated mailbox files). she's tidying up, it's giving spring cleaning. π§Ή
all mailbox files are also checked to make sure the file format matches the configured database type in imapd.conf. if not, the file is automatically converted using the same logic as cvt_cyrusdb. automatic glow-up, fr.
if the reverseacls option in imapd.conf(5) is enabled, and the RACL entries in the database are an old version or don't exist, they will be generated. conversely, if RACL entries do exist in the database, but the reverseacls option is disabled, then the entries will be cleaned up. so it goes both ways, bestie. π
-x,--no-cleanupβ used with-rto only recover the database, and prevent any cleanup. just recovery. no side quests. π βοΈ-c,--checkpointβ checkpoint and archive (a copy of) the database. πΎ
changes to the database which are part of the committed transactions are written to disk.
the archive is created via a hot backup, and inactive log files are removed. iconic archival behaviour, honestly.
π EXAMPLES π
ctl_cyrusdb -r
Recover databases, performing cleanup. this is commonly used in the START section of cyrus.conf(5).
ctl_cyrusdb -x -r
Recover database only.
ctl_cyrusdb -c
Checkpoint databases. commonly used in the EVENTS section of cyrus.conf(5).
π FILES π
/etc/imapd.conf
/etc/cyrus.conf
π SEE ALSO π
cyrus.conf(5), imapd.conf(5), master(8)
π AUTHOR π
The Cyrus Team, Nic Bernstein (Onlight), Jeroen van Meeuwen (Kolab Systems)
β COPYRIGHT β
1993β2026, The Cyrus Team
and that's the whole page, bestie β version 3.12.4, dated Sep 09, 2026, brought to you by the Cyrus IMAP crew. go forth and recover your databases responsibly. mwah. ππ«Ά
π¦ 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