🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Paul Overell Tue, 24 Oct 1995 00:00
Re: Posted-To standard (was Re: Posted-To: header (was Re: Pine and Newsgroups, again)
#17454
Author: 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

Re: Posted-To standard (was Re: Posted-To: header (was Re: Pine and Newsgroups, again)
#17472
Author: Tim Pierce
Date: Thu, 26 Oct 1995 00:00
49 lines
2906 bytes
In article <vOaAxAAqinjwQAN9@turnpike.com>,
Paul Overell  <paulo@turnpike.com> wrote:

>In article <DGz7In.AvI@midway.uchicago.edu>, Tim Pierce
><twpierce@midway.uchicago.edu> writes
>
>>If you have written software that makes sense of In-Reply-To
>>headers more than a small fraction of the time, please say so.
>>Otherwise, your comments sound like only so much aimless
>>conjecturing.
>
>Perhaps I did not make myself clear, in my article I said:
>
>  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.

Right.  Saying that it "will thread" sounds to me like vaporware.
I didn't read this as saying "If you use Turnpike, it will
thread ..."

>What I was
>trying to say was that just as the existance of some broken References:
>or From: headers does not render all References: and From: headers
>useless, so the existance of some broken In-Reply-To: headers does not
>render all In-Reply-To: headers useless.
>
>Whereas you seemed to be arguing that because some In-Reply-To: headers
>are broken therefore all In-Reply-To: headers are useless.      

My experience with this problem has been with the mail-to-news
gateway (now defunct) at cs.utexas.edu.  Fletcher Mattox and I
spent some time trying to repair References headers on incoming
articles.  What we found was that so few messages bore any
In-Reply-To headers at all -- let alone a header containing a
message-id -- that it was not even worth the effort of trying to
parse the headers.  The payback was simply minimal.  We actually
had better luck checking for a message-ID in the first few lines
of the body.

If this isn't your experience, then I'm glad for you; however, I
hope that you understand my skepticism.

-- 
By sending unsolicited commercially-oriented e-mail to this address, the 
sender agrees to pay a $100 flat fee to the recipient for proofreading 
services.

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads