MBPATH(8)
π MBPATH(8) β Cyrus IMAP π
okay bestie, welcome to mbpath, the little Cyrus IMAP bestie that turns your mailbox names into actual filesystem paths β¨ no cap, that's literally the whole job. (Also hi, this is the Cyrus IMAP documentation, mwah π
)
πΈ NAME πΈ
mbpath β translate mailbox names to filesystem paths π¦
π SYNOPSIS π
mbpath [ -C config-file ] [ -l ] [ -m ] [ -q ] [ -s ] [ -u | -p ] [ -a | -A | -M | -S | -U ] [ mailbox-names... ]
β¨ DESCRIPTION β¨
so you hand it a mailbox name, or a whole space separated list of mailbox names, and mbpath outputs the filesystem path(s) of the mailbox. that's it. that's the gig π
by default, you get the mailboxes' data partition paths (same as -D, since -D is the default and she is the moment). wanna pick a different path? scroll down to Selectors and choose your fighter π
also she reads her config options out of the imapd.conf(5) file unless you tell her otherwise with -C. and she uses <configdirectory>/mailboxes.db to locate the mailboxes on disk. iykyk π₯
π OPTIONS π
-Cconfig-file β use the config file config-file you specified instead of the defaultimapd.conf(5). be specific bestie, she loves that π-l,--local-onlyβ local mailboxes only. if a mailbox is remote or just straight up doesn't exist, she exits with an error. no pretending, no vibes-based guessing π-mβ output the path to the metadata files (if they're different from the message files). legacy behavior, so honestly just use-M. it's giving vintage π-q,--quietβ suppress any error output. shhh. she's not gonna tell you what went wrong π€«-s,--stopβ if any error occurs, stop processing the list of mailboxes and exit. one strike and she's out π-u,--useridsβ themailbox-namesyou gave her are actually userids, not mailboxes. important distinction, don't come for her π«Ά-p,--pathsβ themailbox-namesyou gave her are actually UNIX mailbox paths, not mailboxes. yes she's flexible, yes she ate β
π SELECTORS π
this is the section where you pick which path(s) she shows you. choose wisely, queen πΈ
-A,--archiveβ show the mailbox archive path π¦-D,--dataβ show the mailbox data path (this is the default, in case you forgot, and you did, it's fine) π-M,--metadataβ show the mailbox metadata path (same as-m, twins fr fr) β¨-S,--sieveβ show the user sieve scripts path πΈ-U,--user-filesβ show the user files path (seen, sub, etc) π¦-a,--allβ show all paths, as if every single selector was specified. she's doing the most and we love her for it π₯
π EXAMPLES π
okay so here's the group chat receipts, run them exactly like this:
mbpath user.jsmith
Display the data path for mailbox user.jsmith. π
mbpath -M user.jsmith
Display the metadata path for mailbox user.jsmith. β¨
mbpath -u -S jsmith
Display the sieve scripts path for user jsmith. π
π FILES π
/etc/imapd.conf<configdirectory>/mailboxes.db
these are the files she's obsessed with. periodt π
π§ SEE ALSO π§
π AUTHOR π
The Cyrus Team, Nic Bernstein (Onlight) β iconic behavior honestly, thank you for your service π«Ά
β COPYRIGHT β
1993β2026, The Cyrus Team. all rights reserved, all vibes preserved π
lowkey a reminder bestie: everything above is exactly what she does, no invented features, no extra lore. what you see is what you get π―
okay that's the whole page, go forth and translate those mailbox names, main character energy only π
this was Cyrus IMAP mbpath from version 3.12.4, dated Sep 09, 2026 β mwah, take care of her, she's iconic πβ¨π
π¦ 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