Download raw body.
Adding Message-ID to mail(1)
On 28.08.24 09:38, Walter Alejandro Iglesias wrote: > On Mon, Aug 26, 2024 at 11:38:29AM +0200, Walter Alejandro Iglesias wrote: >> On Mon, Aug 26, 2024 at 11:08:52AM +0200, Walter Alejandro Iglesias wrote: >>> I don't remember if GNU mailutils version is able to read headers >>> included in the same file you feed with the body (perhaps Mutt?) In >>> this case you should be able to use a loop like this: >>> >>> for i in `cat /etc/lots_of_recipients`; do >>> mail $i < body_including_headers.txt >>> done >>> >>> But, so far, with the OpenBSD version of mail you can't do that. You >>> cannot pass other headers than From, To, Cc, Bcc and Subject, and only >>> in the ways explained in the man page. >>> >> >> You can do the following with the bsd-mailx version you find in Debian >> as a package: >> >> for i in `cat /etc/lots_of_recipients`; do >> mail -a "Message-ID: <string>" $i < body.txt >> done >> >> It would be ideal to add such option to openbsd mail, in fact that was >> my first idea years ago. I opted for a simpler solution according to >> the approach of this project. >> > > Or simply do this: > > $ echo Hello | mail -s hello `cat lots_of_recipients` > > You can also use an alias to many recipients. It's not about what *I* can do and what alternatives *I* have, it's about what users are used to and if any change can be justified. Seen the message id of this message? > > This is one symptom among thousands of how uselessly we complicate our > lives and get lost in our own abstractions. > Says the man continuously sending mails to this list without any progress. -- Christian
Adding Message-ID to mail(1)