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 readslistdirectly; fastforward needslist.bin. sendmail's strategy is a disaster if you savelistto 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 writinglist,listcould 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:newincludedoes not support file or program deliveries in:include:files. you can use the secure delivery mechanisms described indot-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 π
fastforward(1)newaliases(1)setmaillist(1)dot-qmail(5)
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 ππ
π¦ 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