MBEXAMINE(8)
π MBEXAMINE β like, the Cyrus IMAP mailbox detective π
okay so bestie, welcome to mbexamine, part of the Cyrus IMAP docs, section 8 of the manual (the sysadmin-y one, you know the vibe). This is the tool you reach for when you wanna peek inside a cyrus-format mailbox and see what's actually going on in there. πβ¨
β¨ SYNOPSIS β¨
mbexamine [ -C config-file ] [ -u uid ] mailbox...
mbexamine [ -C config-file ] [ -s seqnum] mailbox...
mbexamine [ -C config-file ] -q mailbox...
mbexamine [ -C config-file ] -c mailbox...
πΈ DESCRIPTION πΈ
So what does mbexamine actually do? It opens up the header, index, and cache files of a cyrus-format mailbox and dumps everything it finds in there out for you to look at. It's giving open-book exam, honestly. π
It can also narrow its output down to just one specific uid or one specific sequence number, using the -s and -u switches. So if you don't wanna read the whole novel, you can just read one page. π
Config-wise, mbexamine reads its configuration options out of the imapd.conf(5) file β unless you tell it otherwise with -C. And to actually find the mailbox on disk, it uses <configdirectory>/mailboxes.db. ποΈ
π OPTIONS π
-Cconfig-file β hey bestie use this config file instead of the defaultimapd.conf(5), mwah π-uuid, `--uid=uid β dump info for the given uid and literally nothing else. one (1) message, that's the assignment. π―-sseqnum, `--seq=seqnum β same energy but for a sequence number: dump info for the given seqnum only. π’-q,--check-quotaβ this one compares the quota usage incyrus.indexagainst the actual message file sizes, then reports any differences it finds. And listen β if there ARE differences, the mailbox SHOULD be reconstructed. That's not a suggestion, that's a vibe check that failed. π-c,--check-message-filesβ compares the records incyrus.indexto the actual message files and reports any differences it sees. This one is your bestie when messages files got manipulated by hand and/or restored incorrectly β it'll sniff out the drama. π΅οΈββοΈ
π₯ EXAMPLES π₯
mbexamine user.jsmith
Examine the mailbox hierarchy rooted at user.jsmith. Just a lil look around, no big deal. π
mbexamine -u 00000004 user.jsmith
Examine the mailbox hierarchy rooted at user.jsmith while hunting for messages with UID = 00000004. you have one job and you're doing it. π
mbexamine -q user.jsmith
Examine the mailbox hierarchy rooted at user.jsmith and check the quotas while you're at it. multi-tasking queen π
mbexamine -c user.jsmith
Examine the mailbox hierarchy rooted at user.jsmith, comparing the index records to the actual message files sitting in the mailbox directory. receipts vs reality, let's see if they match π
π¦ FILES π¦
/etc/imapd.conf<configdirectory>/mailboxes.db
(the two places this icon gets its info from, no cap)
π SEE ALSO π
go read that one too, iykyk π«Ά
π AUTHOR π
The Cyrus Team, Nic Bernstein (Onlight). absolute legends, fr fr. π
β COPYRIGHT β
1993β2026, The Cyrus Team
okay that's the whole page, you ate that periodt π β¨
This was version3.12.3, dated Jul 15, 2026 β the Cyrus IMAP era, andMBEXAMINE(8)said goodbye. go forth and examine those mailboxes bestie, ily ππ¦
π¦ 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