MBEXAMINE(8)

πŸ’… MBEXAMINE πŸ’…

okay bestie, welcome to mbexamine β€” that's section 8 of the Cyrus IMAP manual, and she is literally the mailbox detective you didn't know you needed. πŸ”βœ¨


✨ NAME ✨

mbexamine β€” Cyrus IMAP documentation

Examine a cyrus-format mailbox πŸ¦‹


πŸŽ€ 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...

like, four whole moods, pick your fighter πŸ’–


🌸 DESCRIPTION 🌸

okay so mbexamine is gonna go peek inside a cyrus format mailbox β€” the header, the index, and the cache files β€” and dump all the info that's hiding in there. it's giving "x-ray vision but for mail" 🩻✨

and she's not nosy about everything either β€” if you only care about one specific message, you can tell her to chill and only look at a certain uid or sequence number using the -s and -u switches. no cap. πŸ‘‘

where does she get her settings? she reads her configuration options straight out of the imapd.conf(5) file β€” unless you say otherwise with -C. and to actually find the mailbox on disk, she uses <configdirectory>/mailboxes.db. that's the map, bestie. πŸ—ΊοΈ


πŸ’– OPTIONS πŸ’–

  • -C config-file β€” use this specific config-file instead of the default imapd.conf(5). your config, your rules. πŸ’…
  • -u uid, --uid=uid β€” dump info for the given uid only. just that one. tunnel vision, but make it iconic. πŸ‘οΈ
  • -s seqnum, --seq=seqnum β€” dump info for the given sequence number seqnum only. same energy, different number. πŸ”’
  • -q, --check-quota β€” compare the quota usage in cyrus.index against the actual message file sizes, and report any differences. and if there are differences? the mailbox SHOULD be reconstructed. not optional, bestie, that's a whole situation. 😭
  • -c, --check-message-files β€” compare the records in cyrus.index to the actual message files and report any differences. this one's your girl if message files got manipulated manually and/or restored incorrectly β€” she'll catch it. πŸ™ˆ

🌈 EXAMPLES 🌈

mbexamine user.jsmith

Examine the mailbox hierarchy rooted at user.jsmith. πŸ¦‹

mbexamine -u 00000004 user.jsmith

Examine the mailbox hierarchy rooted at user.jsmith, looking for messages with UID = 00000004. 🎯

mbexamine -q user.jsmith

Examine the mailbox hierarchy rooted at user.jsmith, checking quotas. πŸ’°

mbexamine -c user.jsmith

Examine the mailbox hierarchy rooted at user.jsmith, comparing index records to the actual message files in the mailbox directory. πŸ“‚


🧚 FILES 🧚

  • /etc/imapd.conf
  • <configdirectory>/mailboxes.db

⭐ SEE ALSO ⭐

iykyk πŸ’œ


πŸ‘‘ AUTHOR πŸ‘‘

The Cyrus Team, Nic Bernstein (Onlight)


1993–2026, The Cyrus Team


fr fr, that's the whole page. go examine something. πŸ”₯

3.12.4 Β· Sep 09, 2026 Β· that's the vibe, that's the version, that's the date β€” mwah πŸ’‹ MBEXAMINE(8) 4ever πŸŒˆπŸ’–

πŸ“¦ where this page comes from