MLIST(1)
π MLIST(1) β bestie's guide to listing & filtering messages π
okay so real talk, this is the mlist page from the General Commands Manual, and it's genuinely one of my faves. she lists messages, she filters messages, she's a whole vibe. let's get into it π«Ά
β¨ NAME β¨
mlist β list and filter messages π
πΈ SYNOPSIS πΈ
mlist [-DFPRST] [-X str]
[-dfprst] [-x str]
[-N | -n | -C | -c]
[-i] [dirs ...]
look at her. so structured. so iconic. π
π¦ DESCRIPTION π¦
mlist lists messages in the specified maildir folders dirs, separated by newlines. periodt. π
and here's the lil plot twist bestie: if you use it non-interactively and you don't specify any folders, mlist reads the directory names from the standard input. no cap. it's just slurping those folder names right off stdin. π
The options are as follows:
-Dβ Only list messages marked as draft. βοΈ-Fβ Only list messages marked as flagged. π©-Pβ Only list messages marked as passed (resent/forwarded/bounced). π€-Rβ Only list messages marked as replied-to. π¬-Sβ Only list messages marked as seen. π-Tβ Only list messages marked as trashed. ποΈ-Xstr β Only list messages marked with the characters in str.-dβ Don't list messages marked as draft.-fβ Don't list messages marked as flagged.-pβ Don't list messages marked as passed (resent/forwarded/bounced).-rβ Don't list messages marked as replied-to.-sβ Don't list messages marked as seen.-tβ Don't list messages marked as trashed.-xstr β Don't list messages marked with the characters in str. (Remember to use uppercase characters.) β οΈ-Cβ Only list messages incur.-Nβ Only list messages innew.-cβ Don't list messages incur.-nβ Don't list messages innew.-iβ Don't print filenames. Instead, print a one-line summary for each folder, showing the number of unseen, flagged and total messages, along with the folder name. If any of the message selection flags are used, the number of matching messages is printed as well. If two or more folders are specified, a total for all folders will also be printed at the end. π
π heads up bestie: Multiple options are regarded as a conjunction. so they're all getting AND-ed together, not OR-ed. they're a package deal, fr fr.
π EXIT STATUS π
The mlist utility exits 0 on success, and >0 if an error occurs. clean exit = slay, anything else = something went sideways. π
π SEE ALSO π
find(1)- Using maildir format: https://cr.yp.to/proto/maildir.html
π AUTHORS π
Leah Neukirchen <leah@vuxu.org> β an absolute legend, no notes. π
π§ LICENSE π§
mlist is in the public domain. ποΈ
To the extent possible under law, the creator of this work has waived all copyright and related or neighboring rights to this work.
http://creativecommons.org/publicdomain/zero/1.0/
and that's the whole page bestie, tysm for reading π this one shipped with Debian, dated April 30, 2020 β so like, vintage but still eating. πβ¨
π¦ where this page comes from
- alpine 3.24: mblaze-doc 1.4-r0 Β· CC0-1.0
- debian bookworm: mblaze 1.1-1 Β· CC0-1.0
- debian trixie: mblaze 1.1-1 Β· CC0-1.0
- nixos 26.05: mblaze 1.4
- nixpkgs unstable: mblaze 1.4
- ubuntu jammy: mblaze 1.1-1 Β· CC0-1.0
- ubuntu noble: mblaze 1.1-1 Β· CC0-1.0
- ubuntu resolute: mblaze 1.1-1build1 Β· CC0-1.0
- ubuntu stonking: mblaze 1.1-1build1 Β· CC0-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms