MAIL.MAILDIR(8)
π MAIL.MAILDIR β the maildir glow-up, bestie β¨
okay so real quick, this is mail.maildir from section 8 of the System Manager's Manual. it's giving "quiet little workhorse that nobody talks about but everyone depends on." we love her for that. π«Ά
πΈ NAME πΈ
mail.maildir β bestie, she stores mail in a maildir. that's it. that's the whole job. and she does it flawlessly. π
β¨ SYNOPSIS β¨
mail.maildir [-j] [pathname]
literally two things. an optional flag and an optional path. we keep it simple here, no cap. π
π DESCRIPTION π
so here's the tea. mail.maildir reads from standard input and just keeps reading and reading until it hits an end-of-file β like, she will not stop until you're done, she's committed like that π β and then she adds all of it to a mail directory.
which mail directory, you ask? okay so it's either:
- the mail directory sitting at
pathnameif you gave her one, or - the mail directory called
Maildirinside the user's home directory π
like, if you don't tell her where to go, she just goes home. relatable. main character energy fr fr. β¨
The options are as follows:
-jβ she scans the message for anX-Spamheader, and if the result comes back positive, that bad boy gets moved to theJunkfolder. spam? not on her watch. π«π
π¦ EXIT STATUS π¦
- exits
0on success β slay, we ate, everything worked π - exits
>0if an error occurs β something went wrong and she's telling you about it π
ngl, if you see a nonzero exit, check your paths. that's usually the vibe check that failed. π
π SEE ALSO π
iykyk, go read those next. they're iconic in their own right. π
and that's the whole page, bestie!! this came out of Debian, dated February 13, 2021 β so she's been out here being reliable since forever. go forth and file your mail correctly. mwah. ππΈβ¨
π¦ where this page comes from
- alpine 3.24: opensmtpd-doc 7.8.0_p0-r0 Β· ISC
- arch rolling: opensmtpd 7.9.0p0-1 Β· custom
- debian trixie: opensmtpd 7.6.0p1-1 Β· ISC
- epel 10: opensmtpd 7.9.0p0-1.el10_3 Β· ISC
- epel 9: opensmtpd 7.6.0p1-1.el9 Β· ISC
- fedora 43: opensmtpd 7.7.0p0-3.fc43 Β· ISC
- fedora 43: opensmtpd 7.8.0p0-1.fc43 Β· ISC
- fedora 44: opensmtpd 7.8.0p0-2.fc44 Β· ISC
- fedora 44: opensmtpd 7.9.0p0-1.fc44 Β· ISC
- nixos 26.05: opensmtpd 7.8.0p0
- nixpkgs unstable: opensmtpd 7.8.0p0
- opensuse-leap 16.0: OpenSMTPD 7.9.0p0-bp160.1.1 Β· BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND ISC
- opensuse-leap 16.0: OpenSMTPD 7.9.0p0-bp160.1.1 Β· BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND ISC
- opensuse-leap 16.0: OpenSMTPD 7.9.0p0-bp160.1.1 Β· BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND ISC
- opensuse-leap 16.0: OpenSMTPD 7.9.0p0-bp160.1.1 Β· BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND ISC
- ubuntu noble: opensmtpd 7.4.0p1-1build4 Β· ISC
- ubuntu questing: opensmtpd 7.7.0p0-1
- ubuntu resolute: opensmtpd 7.8.0p0-2 Β· ISC
- ubuntu stonking: opensmtpd 7.8.0p0-2build1 Β· ISC
- Copyright (c) 2017 Gilles Chehade <gilles@poolp.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms