RCVDIST(1)

RCVDIST(1) πŸ’Œβœ¨

okay bestie, this is a page from the General Commands Manual β€” meet rcvdist, the lil icon that receives your mail and fans it out to everybody on your list. no cap. 🫢


NAME πŸŽ€

rcvdist β€” asynchronously receive and distribute new email


SYNOPSIS ✨

/usr/libexec/nmh/rcvdist [-help] [-version] [-form formfile]
     [switches for postproc] address1 ...

DESCRIPTION πŸ’–

so here's the vibe: rcvdist takes a message on its standard input and resends a copy of that message to literally every address you listed on the command line. it's giving "one message in, many messages out." main character distribution energy. πŸ‘‘

the format of the Resent-xxx header fields is specified by the form file rcvdistcomps. and bestie, listen β€” if a file named rcvdistcomps exists in your nmh directory, that one wins and it gets used instead of the default file. want a totally different one? just say -form formfile and pass an alternate forms file. slay. πŸ’…

the rcvdistcomps file uses the format string facility described over in mh-format(5). and on top of all the standard format escapes, rcvdist also recognizes this one extra component escape:

  • addresses β€” returns a string β€” the addresses to distribute to 🌸

by default, rcvdist uses the post program to deliver the message. but lowkey you can switch that up by defining the postproc profile component. your delivery, your rules. ✨


FILES πŸ¦‹

  • /etc/nmh/rcvdistcomps β€” Default message skeleton
  • <mh-dir>/rcvdistcomps β€” User's message skeleton
  • /etc/nmh/mts.conf β€” nmh mts configuration file
  • /etc/nmh/maildelivery β€” Default delivery file
  • $HOME/.maildelivery β€” User's delivery file

SEE ALSO 🌈

rcvpack(1), rcvstore(1), rcvtty(1), slocal(1), mh-format(5)


okay that's the whole page, no notes, you ate. πŸ“

this has been nmh-1.8, dated 1999-04-30 β€” yeah she's an icon from the 90s and she's still serving. periodt. πŸ’œβœ¨

πŸ“¦ where this page comes from