setmaillist(1)
β¨ setmaillist(1) β¨
okay bestie, gather round, because this is setmaillist from the General Commands Manual and she is lowkey iconic π
π NAME π
setmaillist β create a binary mailing list. that's it, that's the whole job, and she does it flawlessly β¨
π¦ SYNOPSIS π¦
setmaillist bin tmp
π DESCRIPTION π
so here's the vibe: setmaillist reads a mailing list from its standard input. standard input, bestie. she's listening π
then she writes that mailing list in a binary format to tmp, and after that she moves tmp to bin. and no cap, tmp and bin must be on the same filesystem β that's non-negotiable, the move depends on it π«Ά
if there's a problem creating tmp, setmaillist complains and leaves bin alone. she's dramatic but she's not gonna mess up your existing file, periodt π
the binary mailing list format is portable across machines β so it travels, it's giving main character energy on every host π
and one more thing: setmaillist always creates bin world-readable. always. everybody can read it. that's the whole point π«
πΈ MAILING LIST FORMAT πΈ
the mailing list that setmaillist reads is a series of lines. and listen β NUL bytes are not allowed. not even one. don't try it π
here's how she reads each line, okay? pay attention, this is the important part:
- if a line begins with a dot or a slash,
setmaillisttakes the entire line as an include file name π - if a line begins with an ampersand,
setmaillisttakes the rest of the line as a recipient address π - if a line begins with a letter or a number,
setmaillisttakes the entire line as a recipient address π
and every single recipient address must include a fully qualified domain name. no shortcuts. and recipient addresses longer than 800 bytes are not allowed β 800 is the limit, bestie, she said what she said β
she also ignores blank lines and lines beginning with # π and she ignores spaces and tabs at the ends of lines β trailing whitespace, who even are you π
for example, this:
god@heaven.af.mil
djb@silverton.berkeley.edu
is a mailing list with two addresses. cute right? two little addresses, living their best life π¦
π₯ SEE ALSO π₯
go read those too, iykyk π
π a little sign-off from me to you: this whole page lives in the General Commands Manual and its manual name is setmaillist(1) β that's the source, that's the version, that's the whole footer vibe. slay, ate, no crumbs. πβ¨
π¦ where this page comes from
- debian bookworm: fastforward 1:0.51-8+b1
- debian trixie: fastforward 1:0.51-10
- ubuntu jammy: fastforward 1:0.51-6
- ubuntu noble: fastforward 1:0.51-9
- ubuntu questing: fastforward 1:0.51-11
- ubuntu resolute: fastforward 1:0.51-11build1
- ubuntu stonking: fastforward 1:0.51-12
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms