CTL_CYRUSDB(8)
π ctl_cyrusdb β the Cyrus IMAP database wrangler manual (section 8) π
okay bestie, welcome to CTL_CYRUSDB(8) from the Cyrus IMAP docs β¨ this is the little tool that does admin stuff directly on your Cyrus IMAP databases, no middleman, no cap.
β¨ NAME β¨
ctl_cyrusdb β Cyrus IMAP documentation π
Perform administrative operations directly on Cyrus IMAP databases. periodt.
π SYNOPSIS π
ctl_cyrusdb [ -C config-file ] -c
ctl_cyrusdb [ -C config-file ] -r [ -x ]
likeβ¦ that's it. that's the whole vibe. two modes, choose your fighter π₯
πΈ DESCRIPTION πΈ
okay so ctl_cyrusdb is used to perform various administrative operations on the Cyrus IMAP databases. she's giving backend queen, she's giving maintenance era.
she reads her configuration options out of the imapd.conf(5) file unless you specify otherwise with -C. and the configdirectory option in imapd.conf(5)? that's the one that determines the default location of the Cyrus databases π«Ά iykyk.
π OPTIONS π
-Cconfig-file β use the specified configuration file config-file rather than the defaultimapd.conf(5). yes, you can point her at a whole other config. icon behaviour.-r,--recoverβ recover the database after an application or system failure ππ also performs database cleanups like removing mailbox reservations (and the associated mailbox files).
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. she's not just recovering, she's renovating β¨
if the reverseacls option in imapd.conf(5) is enabled, and the RACL entries in the database are an old version or do not 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 either way she's tidying π§Ή
-x,--no-cleanupβ used with-rto only recover the database, and prevent any cleanup. like, just the rescue, no decluttering. minimal queen π-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. hot girl backup fr fr π₯
π EXAMPLES π
ctl_cyrusdb -r
recover databases, performing cleanup. this is commonly used in the START section of cyrus.conf(5). like, this is her routine, her daily slay π
ctl_cyrusdb -x -r
recover database only. no cleanup, no extras, just the recovery.
ctl_cyrusdb -c
checkpoint databases. commonly used in the EVENTS section of cyrus.conf(5). the scheduled glow-up π
π¦ FILES π¦
/etc/imapd.conf /etc/cyrus.conf
π SEE ALSO π
cyrus.conf(5), imapd.conf(5), master(8)
(the whole friend group, honestly π«Ά)
π AUTHOR π
The Cyrus Team, Nic Bernstein (Onlight), Jeroen van Meeuwen (Kolab Systems)
π COPYRIGHT π
1993β2026, The Cyrus Team
okay that's the whole page bestie, you're officially certified in direct database admin π β¨
this wasctl_cyrusdbfrom Cyrus IMAP, version3.12.3, datedJul 15, 2026β and we're all obsessed with her. no cap. mwah πππ
π¦ 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