Jon Fineman wrote in <20230103112509.ndhkuetedhnsw...@ryzen.jonjfineman.com>: [resort] |On Tue, Jan 03, 2023 at 08:33:22AM +0100, Harald Dunkel wrote: |>is there some way for OpenBSD's mailx (reading an EMail to send from |>stdin) to add fields to the EMail header, e.g.
"s-nail" from ports (maintainer here) is a little bit more feature rich mailx, it can do this in several ways. |> Auto-Submitted: auto-generated |> |>for generated EMails, according to the recommendation in RFC 3834? I .. do not know this RFC. Will download when i am online again. ... |>This could help to avoid a lot of unnecessary vacation responses, I hope i will never emit one of those. |>support automatic filtering, etc. |> |>The mailx command line could be |> |> echo hello | \ |> mailx -s hello -a "Auto-Submitted: auto-generated" j...@example.com But not -a, this adds an attachment. You could use -C Auto-Submitted:auto-generated. (-C links to other possibilities.) $ echo Harry|mail -:/ -Smta=test -C 'Schrubben:Rücken' e...@am.ple From steffen Tue Jan 3 21:29:44 2023 Date: Tue, 03 Jan 2023 21:29:44 +0100 To: e...@am.ple User-Agent: mailx v14.9.24 Schrubben: =?utf-8?Q?R=C3=BCcken?= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Harry It is far from complete and v14.10 is waiting for three years (i hope for Easter this year), but the v15 that will bring major improvements not before 2024. But a bit usable it is already. Ciao. --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)