🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #17454

Re: Posted-To standard (was Re: Posted-To: header (was Re: Pine and Newsgroups, again)

#17454
From: Paul Overell
Date: Tue, 24 Oct 1995 00:00
83 lines
4126 bytes
In article <308AC133.469E788@netscape.com>, Jamie Zawinski
<jwz@netscape.com> writes
>John Stanley wrote:
>> 
>> >In-Reply-To: -header in mail is used to indicate same
>> >than what was References: -header used in Usenet news. References:
>> >header in mail have more wide semantic than in Usenet news.
>> 
>> Both have wider semantics than the news References header. In mail, the
>> only difference between the two is that one identifies "previous"
>> correspondence and the other "other" correspondence. They are
>> syntactically the same.
>
>The news definition of References is that it contains a list of message
>IDs.  The mail definition of both References and In-Reply-To is that it
>contains PHRASEs or message-IDs.  This makes it essentially impossible
>to parse in any reasonable way.
>
I don't see the problem in parsing In-Reply-To:

   "In-Reply-To" ":" *(phrase / msg-id)

Phrases cannot start with "<", msg-id's must start "<".

>Fortunately, in the real world, every MUA I've ever seen which generated
>a References header generated merely a list of message IDs.
>
>But, in the real world, you'll find all kinds of crap in the In-Reply-To
>header, from
>
>  In-Reply-To: <msg-id-12432142143@host>
>to
>  In-Reply-To: message <msg-id-12432142143@host> from Some Guy
>to
>  In-Reply-To: message of 3-Jan-95 from Some Guy <someguy@somehost>
>
>so the interesting thing here is that email addresses in <> form are
>(usually) indistinguishable from message IDs - the syntax of a message
>ID is a significant subset of the syntax of an email address.
>
The important point here is that the last example is *broken*, even
though it is syntatically correct.  You cannot put email addresses in
the In-Reply-To: header unless they have been suitably quoted so that
they become phrases (or comments).  The only problem here is that a
syntax parser cannot detect the error since, as you point out, the
syntax of addresses and message-IDs overlap.  There is nothing unique to
the In-Reply-To: header here, any header can potentially contain
syntatically correct rubbish.

>This makes In-Reply-To useless for anything except direct presentation
>to the user -- you can't reliably mechanically extract information from
>it.

Usenet is full of broken headers, you can't reliably mechanically
extract information from *any* header!  Software just has to cope with
broken headers.  I frequently see broken Reference: and broken From:
headers but this doesn't stop them from being useful.

>
>If MUAs followed the 822 syntax for References instead of the news
>syntax, then that would be a big problem; you couldn't even use it for
>threading, really.  Fortunately, nobody seems to be being that foolish.
>
Our newsreader, Turnpike, will thread mail using the In-Reply-To:
header.  Just as we have to cope with broken References: headers so we
cope with broken In-Reply-To: headers.

>So what's my point?  Something along the lines of "In-Reply-To is
>useless, be careful never to depend on it."

The In-Reply-To: header is useful, don't depend on *any* header.

>  And "assuming news syntax
>for mail References fields is not unreasonable."
>
Agreed.

-- 
Paul
-------------------------------------------------------------------------
Paul Overell,                                        T U R N P I K E  Ltd

Technical Details
Message-ID: <nIWonDAdCNjwQAss@turnpike.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.mail.headers.mbox.zip!not-for-mail
References: <44ning$7om@mars.mcs.com> <Mg0OhvAGX5hwEAyQ@turnpike.com>

Show Full Headers
Complete Article Headers
Message-ID: <nIWonDAdCNjwQAss@turnpike.com>
Subject: Re: Posted-To standard (was Re: Posted-To: header (was Re: Pine and Newsgroups, again)
Date: Tue, 24 Oct 1995 00:00:00 +0000
From: Paul Overell <paulo@turnpike.com>
References: <44ning$7om@mars.mcs.com> <Mg0OhvAGX5hwEAyQ@turnpike.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.mail.headers.mbox.zip!not-for-mail
X-Deja-AN: 118029867
Distribution: world
X-nntp-posting-host: paulo.turnpike.com
Organization: Turnpike Ltd
Mime-version: 1.0
Newsgroups: comp.mail.headers,news.software.readers