Index | Thread | Search

From:
Steffen Nurpmeso <steffen@sdaoden.eu>
Subject:
Re: [patch] Adding In-Reply-To: support to mail(1)
To:
Tim Chase <openbsd@tim.thechases.com>
Cc:
tech@openbsd.org
Date:
Thu, 01 Feb 2024 21:22:29 +0100

Download raw body.

Thread
Tim Chase wrote in
 <ZbvXNfFcmpMDVx3g@thechases.com>:
 |On 2024-02-01 17:46, Steffen Nurpmeso wrote:
 |> Tim Chase wrote in
 |>|I noticed that mail(1) doesn't seem to support adding In-Reply-To:
 |>  ...
 |>|I'm not quite certain whether those
 |>|
 |>|  head.h_inreplyto = hfield("message-id", mp);
 |>|
 |>|lines should be
 |>|
 |>|  head.h_inreplyto = skin(hfield("message-id", mp));
 |> 
 |> It should definetely be skin()ned.
 |
 |Thanks for the feedback/insight!
 |
 |Okay, I've updated the patch to skin the incoming message-id and...
 |
 |> But when writing out the header you need to place this "msg-id" in
 |> standard terms in <angle-brackets>.
 |
 |...also included the message-ID in angle brackets.
 |
 |> The BSD Mail codebase is older than the standard.
 |> It is a total looser regarding anything such, and works only by
 |> accident.  And not truly exaggerating.
 |
 |A spot disappointing that it doesn't get more love since the very
 |first thing you see on a successful install is instructions to
 |invoke mail(1)
 |
 |  CONGRATULATIONS! Your OpenBSD install has been successfully completed!
 |
 |  When you login to your new system the first time, please read your mail
 |  using the 'mail' command.
 |
 |(the fact your post came via s-nail gave me s smile in the context
 |of a thread on mail(1) being used)

Well that is a long road.  But the next release v14.10 will in
fact ship a completely new and compliant RFC 5322 address parser;
among lots of other things.  (But many still not.)

 |> You should also manage References:.
 |
 |At this point, my hope was to just bring the functionality up to
 |parity with FreeBSD's mail(1) which does provide In-Reply-To
 |functionality so other MUAs have a fighting chance of proper
 |threading.

Oh it does?  Have not looked for long.  Since 1998, oha.  Well,
the standard is quite clear on that, and all BSD Mails, mine
included, to it wrong.

--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)