MDELIVER(1)

πŸ“¦
version 1.4 Β· 2 versions
, in alpine 3.24, nixos 26.05, nixpkgs unstable

πŸ’Œ mdeliver(1) β€” General Commands Manual πŸ’Œ

okay so bestie, listen up, this is the manual page for mdeliver and it's genuinely one of my faves πŸ’–


✨ NAME ✨

mdeliver β€” deliver messages or import mbox file πŸŽ€


🌸 SYNOPSIS 🌸

mdeliver [-c] [-v] [-X flags] dir < message
mdeliver -M [-c] [-v] [-X flags] dir < mbox

like, two whole modes, both slaying ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

so mdeliver takes a message that's coming in on standard input and adds it as a brand-new message in the maildir dir. that's it. that's the whole vibe πŸ’…

when you throw -M in the mix, mdeliver treats standard input as an MBOXRD mailbox β€” it splits that thing on From and delivers each message one by one, decoding each one per the MBOXRD convention. and here's the iconic part: in that case, mdeliver sets the mtime from the value of Date: and sets the maildir flags from the value of Status: or X-Status:. iykyk 🫢

the messages get delivered in a reliable way, and it uses the default umask(2). no cap πŸ”₯

bestie please note: no syntactical checks are performed on the messages. like, zero. none. it trusts you completely πŸ™ˆ

the options are as follows:

⭐ OPTIONS ⭐

  • -M β€” deliver each message of an mbox πŸ“¬
  • -c β€” deliver messages into cur/, not new/ (which is the default) πŸŽ€
  • -v β€” print each new message filename after delivery, so you can see the receipts πŸ‘€
  • -X flg β€” override the flags of the new message file to be flg πŸ’…

πŸ’€ EXIT STATUS πŸ’€

the mdeliver utility exits 0 on success, and >0 if an error occurs. simple as that, periodt ✨


🌈 SEE ALSO 🌈

MBOXRD Email Format: http://www.digitalpreservation.gov/formats/fdd/fdd000385.shtml

Using maildir format: https://cr.yp.to/proto/maildir.html


πŸ‘‘ AUTHORS πŸ‘‘

Leah Neukirchen <leah@vuxu.org> β€” main character energy fr fr πŸ’œ


🧚 LICENSE 🧚

mdeliver 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, go deliver some mail πŸ’Œβœ¨

β€” Debian, February 4, 2021. mwah, stan this utility πŸ“πŸ’…

πŸ“¦ where this page comes from