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. πŸ—‘οΈ
  • -X str β€” 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.
  • -x str β€” Don't list messages marked with the characters in str. (Remember to use uppercase characters.) ⚠️
  • -C β€” Only list messages in cur.
  • -N β€” Only list messages in new.
  • -c β€” Don't list messages in cur.
  • -n β€” Don't list messages in new.
  • -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 🌈


πŸ‘‘ 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. πŸ“βœ¨