MBTOOL(8)
π MBTOOL(8) β the Cyrus IMAP girlie's guide to mailbox index surgery π
okay so bestie, this is the mbtool page from the Cyrus IMAP manual, section 8, and it's lowkey a tiny tool but it does some very specific iconic things to your mailbox indexes. let's get into it π
β¨ NAME β¨
mbtool β Cyrus IMAP documentation
intro π«Ά
β¨ SYNOPSIS β¨
mbtool [ -C config-file ] -r mailbox...
mbtool [ -C config-file ] -t mailbox...
β¨ DESCRIPTION β¨
Okay so mbtool is the tool for doing various actions on the indexes of a list of mailboxes. Like, it's a little specialist. It's not trying to do everything, she's just doing her thing π
The only actions supported right now are:
-t, which will normalize the internaldate time stamp of each record in the index to GMT-r, which will create a new unique ID for each mailbox
Only one action may be given, and at least one mailbox must be listed. That's the vibe check β one action, at least one mailbox, no notes.
The intention is that mbtool will be extended over time to perform more such actions π so like, watch this space, she's growing.
mbtool reads its configuration options out of the imapd.conf(5) file unless you specify otherwise with -C.
β¨ OPTIONS β¨
-Cconfig-file β Use the specified configuration file config-file rather than the defaultimapd.conf(5). basically "no bestie, use MY config file" π-t,--normalize-internaldateβ Normalize internaldate on all index records of all listed mailboxes to match theDate:header if they're off by more than a day. This one is the glow-up π You'd use it to fix up a mailbox that has been restored from backup and lost its internaldate information. Like, it forgot when everything happened, and-tfills in the blanks from theDate:header.-r,--new-uniqueidβ Create a new unique ID for all listed mailboxes. Heads up tho: this only works for legacy mailboxes. Not for the new ones. Periodt.
β¨ EXAMPLES β¨
mbtool -r user.jsmith
Create new UUID for mailbox user.jsmith. π
mbtool -t user.jsmith
Normalize internaldate on all index records in user.jsmith. π¦
β¨ FILES β¨
/etc/imapd.conf
β¨ SEE ALSO β¨
β¨ AUTHOR β¨
The Cyrus Team π
β¨ COPYRIGHT β¨
1993β2026, The Cyrus Team
and that's the whole page, bestie!! πβ¨
this was MBTOOL(8) from Cyrus IMAP, version 3.12.3, dated Jul 15, 2026 π«Ά go normalize something, ily, bye!! πΈ
π¦ 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