MBTOOL(8)
π MBTOOL(8) β the Cyrus IMAP glow-up page π
okay bestie, sit down, hydrate, and let me tell you about mbtool, straight out of the Cyrus IMAP docs. this is a section 8 manual page, so it's a system-admin type situation, and yes it is iconic. β¨
intro β that's literally all the NAME section says and honestly? mysterious queen behavior. π
β¨ SYNOPSIS β¨
mbtool [ -C config-file ] -r mailbox...
mbtool [ -C config-file ] -t mailbox...
two whole moods. pick one. π¦
πΈ DESCRIPTION πΈ
so mbtool is that girl who does various actions on the indexes of a list of mailboxes. that's her whole thing. π
the actions she currently supports are, and I quote-ish:
-tβ normalizes the internaldate time stamp of each record in the index to GMT. like, she's putting it in its correct timezone outfit. π-rβ creates a new unique ID for each mailbox. fresh identity, new era, main character energy. π
the rules though, fr fr: only one action may be given, and at least one mailbox must be listed. no action = nothing happens. two actions = chaos. we don't do chaos here. π
and the plan?? it is intended that mbtool will be extended over time to perform more such actions. she's growing, she's evolving, we're obsessed. π§
mbtool reads its configuration options out of the imapd.conf(5) file unless you say otherwise with -C. iykyk. π
π OPTIONS π
-C config-fileβ use the specified configuration file config-file instead of the defaultimapd.conf(5). like bringing your own snack to the party instead of eating what's there. π-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 rescue mission: it can be used to fix up a mailbox which has been restored from backup and lost its internaldate information. ππ absolute lifesaver.-r,--new-uniqueidβ create a new unique ID for all listed mailboxes. only works for legacy mailboxes. that's the whole caveat, don't @ me, that's just what it says. π
π EXAMPLES π
mbtool -r user.jsmith
create new UUID for mailbox user.jsmith. new ID, new her. β¨
mbtool -t user.jsmith
normalize internaldate on all index records in user.jsmith. timezone corrected, slay. π¦
π FILES π
/etc/imapd.conf
the sacred text. π
π SEE ALSO π
π AUTHOR π
The Cyrus Team. kings. π
π«Ά COPYRIGHT π«Ά
1993β2026, The Cyrus Team. that's a long reign, periodt.
okay that's the whole page bestie, no cap, nothing skipped, every flag accounted for. π
sign-off: this was mbtool, version 3.12.4, dated Sep 09, 2026, and she ate. go normalize something. πβ¨π
π¦ 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