newinclude(1)

πŸ’– newinclude(1) πŸ’–

okay bestie, so this is the newinclude page from the General Commands Manual, and honestly? it's giving "small tool, big responsibilities." let's get into it ✨


🌸 NAME 🌸

newinclude β€” create a binary mailing list from an :include: file


✨ SYNOPSIS ✨

newinclude list

πŸ¦‹ DESCRIPTION πŸ¦‹

so newinclude reads a sendmail-style :include: file called list, and converts it into a binary format in list.bin for use by fastforward. that's the whole glow-up: text file in, binary file out πŸ’…

the way it does this is lowkey careful, and we love that for us. newinclude first writes the mailing list to list.tmp, and then moves it to list.bin. so if there's any problem creating list.tmp, newinclude leaves list.bin alone. no chaos, no half-written mess, just vibes 🫢

also, heads up: newinclude always creates list.bin world-readable. every single time. periodt.

COMPATIBILITY WARNING: sendmail reads list directly; fastforward needs list.bin. sendmail's strategy is a disaster if you save list to disk at the same moment that sendmail reads it β€” the list will be truncated at a random spot, perhaps in the middle of an address 😭. furthermore, if the system crashes while you are writing list, list could be filled with all sorts of garbage πŸ’€. no cap, this is the scary part.

πŸŽ€ LIST FORMAT πŸŽ€

list may contain any number of lines; each line may contain any number of addresses or further :include: files. see newaliases(1) for details on the address format. any line in file beginning with # is ignored β€” comments stay winning ✨

COMPATIBILITY WARNING: newinclude does not support file or program deliveries in :include: files. you can use the secure delivery mechanisms described in dot-qmail(5) instead πŸ‘‘
COMPATIBILITY WARNING: versions of sendmail before V8 did not allow comments in :include: files. ancient behaviour, we don't stan πŸ™ˆ

🌈 SEE ALSO 🌈


and that's the whole page bestie, you ate it πŸ“ this was the newinclude(1) page from the General Commands Manual β€” go forth and build your binary mailing lists, you main character πŸ‘‘πŸ’œ