Geoff Clare via austin-group-l at The Open Group wrote in <20200911145926.GA7856@localhost>: |Although Andrew asked us to take this to the offtopic list, I would |like instead to bring it back on topic, by making it about mailx. | |The descriptions of the "R" and "r" commands in mailx say that replies |are sent to the "sender" for "R" and to "all recipients included in |the header of the message" for "r". This has the following 3 problems: ... |All that matters for fixing the mailx description is what existing |mailx implementations do. | |Of the ones I tried, with "r": | |Solaris uses "Reply-To:" to replace just "From:" |(although it has "R" and "r" the wrong way round!)
There is the flipr variable which can be used to exchange the meaning of these two, as has been said already. |The mailx from GNU mailutils uses "Reply-To:" to replace just "From:". | |S-nail uses "Reply-To:" to replace just "From:" (although, unlike the |others, it puts the recipients from "To:" into "Cc:"). This is all configurable and here most likely inherited from the default resource file (reply-to-honour=ask-yes, followup-to-honour=ask-yes, recipients-in-cc are default; the last is badly named, the original recipients are placed in Cc:, the direct addressee in To:, but things can be "much more complicated", since Reply-To: and Mail-Followup-To: can bring in addresses which were not in the original list of addressees, for example). Once i have looked into this part of the program i have compared the behaviour with the no#1 non-graphical MUA (you use it yourself), and went from there on. Of course configuration matters a lot. In particular we also have a special `Lreply' command which is meant for mailing-lists in particular, because even with lots of configuration options not anything fits in `r' and `R'. The behaviour is carved in stone in a test[1], but due to the many possible outcomes it may not be complete nor correct. Hm. [1] https://git.sdaoden.eu/cgit/s-nail.git/tree/mx-test.sh#n9410 Be warned you have been credited for an improvement of how deeply the variable reply-to-swap-in is honoured for the rest of a compose session. |> For example, in this message, I am including a Reply-To header |> like this |> |> Reply-To: Robert Elz <k...@munnari.oz.au>, |> Andrew Josey <ajo...@opengroup.org> |> |[...] |> |> But I bet it will be deleted by the mailing list software, and |> replaced by something different.... | |It wasn't. In my private copy not, but if even on the mailing-list copy then things are even worse. If it would at least keep the original address around somehow where it can easily be seen, for mailing- list archives for example, there Reply-To: is often not included. --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)