🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #262900

Re: The "References:" line.

#262900
From: Grant Taylor
Date: Thu, 13 Sep 2018 04:14
201 lines
10078 bytes
On 09/12/2018 09:05 PM, VanguardLH wrote:
> The server never requires a References header.  The server never generates 
> the References header.  The *client* creates the References header.

I agree that per specification, the server does not require a References 
header.

I thought that some servers, or more likely their anti-spam sub-system, 
could be configured to require a References: header, particularly if the 
Subject started with Re: as an indication that it is a reply and as such 
should have a References header.

> Removing the References header kills all threading of messages in 
> a discussion.  Instead of the client being able to arrange messages 
> in a tree hierarchy to show who said what to whom, a reply without a 
> References header will start a NEW thread.

That's the exact behavior I wanted (in a very specific subset of times I 
post or send an email).

> After all, all the articles are independent of each other, anyway, just 
> getting assigned article numbers by the NNTP server.  It is the client 
> that organizes articles based on the References header.  I've been in 
> discussions and some boob uses a client (often a web-based forum using 
> a NNTP-to-HTTP gateway or a poorly coded smartphone app) that doesn't 
> add the References header.  The result is that the boob that is replying 
> won't be seen as participating in the discussion (thread) because their 
> article is seen as a new starting thread (no References = first post).

Yep, been there, done that.  That's outside of the scope of the specific 
subnet of the time I explicitly want the new thread.

> In Logan's article, he removed the References header.  That means 
> despite pretending he was replying to someone by showing supposedly 
> cited content of a parent article with quoting and indentation, Logan 
> id NOT reply to anyone.

I think that's the start of a slippery slope of what is a reply verses 
what is a new message.  I don't feel any desire to go there, but will do 
so if you are interested in having said discussion.

> He started a NEW thread instead of replying and adding to an existing 
> thread.

Yes, he started a new /thread/ … with / as a reply.  ;-)

> By removing the References header, Logan will make all his articles appear 
> to other clients, and even his own, as new/starter posts, not as replies.

That is both client and client config dependent.  Some clients will 
happily thread without the References header, others have no hope of 
doing so.

> As I recall, Outlook [Express] always adds the References header in a 
> reply.  Either Logan copied the parent post's content into his new post 
> and made it appear like he replied or he used a proxy or filter that 
> massages the message before it reaches the NNTP server.

I'm fairly certain that Logan did hit reply and then edited / removed 
the References: (and In-Reply-To:) header (and Re: from the subject) 
before replying.

> Not sure why any normal user wants to get rid of the References header 
> their client generates for their replies, but I have seen lots of spammers 
> do it.

I believe that Logan did so as a test of something I was describing to 
see if he could understand ~> learn something.  I think he did both.  :-)

My reasoning (which prompted Logan's experimentation) was to ""reply to 
something a message in a (usually long running) thread that was off 
topic of the thread but still germane to the mailing list / newsgroup. 
I.e. someone mentioning a brand name in a message to a long running 
thread about ham fest / swap meet, I could reply (without the 
References: header) and start a new thread about the brand name without 
polluting / diluting the topic of the thread.

I admit that it is a special case that could be handled in a different way.

I personally like to ""reply to messages, including the "<who> … <when> 
…" line to maintain attribution and edit the subject if my reply is 
significantly off thread topic.

> The "Re:" in the Subject header has nothing to do with the References 
> header.  "Re:" just means "Reply" and could be added to the Subject header 
> whether or not the poster actually replied to a prior article.

I mostly agree.  Save for some servers that implement sanity checks to 
require a References: header if the subject starts with "Re: ".

I agree that this is outside of the scope of NNTP and how servers and 
clients /typically/ work.

> In fact, many posters think they should add "Re:" to their starter posts 
> because they think it means "Regarding" without dependency on a prior 
> discussion.  When starting a new thread, you don't start it by saying 
> "Regarding <my topic>" since "<my topic>" is sufficient.

I typically agree.

> The References header can get truncated.  Some aholes deliberately use 
> excessively long Message-ID (MID) headers to break the References header.

Ugh.  I've not knowingly had the displeasure of that.

I'd have to check message standards again, but I'm fairly certain that 
the LHS of the @ in the Message-ID is limited in characters.  I guess 
the RHS can be as long as they want.

> When the References header gets too long, the first MID gets saved and 
> the last N MIDs get saved with those between getting dropped.  That is, 
> if there were 100 MIDs that created a string too long for the header, 
> MID #1 would get saved, the last N MIDs get saved, with MIDs 2 to N-1, 
> inclusive, getting dropped, to reduce the string length to what the 
> header can hold.

That's my (recent) understanding as well.  (I ignored that prior to it 
coming up recently.)

> As I recall, maximum header length is 998 characters;

Agreed.  The last two being the <CR> and <LF> to make 1k.

> however, headers can have continuation lines (first character must be 
> a space or tab).
I think I read that the /unwrapped/ length can't exceed 998 characters.

It's also my understanding that the folding that you're referring to is 
an attempt to keep the 998 character line within the ~76 character count 
lines.

> Some headers cannot be wrapped (e.g., PATH MID, and SUBJECT) but some can 
> (e.g., REFERENCES).

Agreed.

> The References header isn't just used in Usenet articles (newsgroup). 
> It is also employed in e-mails to provide threading of replies to know 
> who said what to whom and when; else, you'd get stuck with the flat 
> filing scheme in web-based forums where you can see who replied to whom.
> 
> https://www.iana.org/assignments/message-headers/message-headers.xhtml
> References is used for both [e]mail and netnews (Usenet).
> 
> https://tools.ietf.org/html/rfc5322
> Section 3.6
> References - SHOULD occur in some replies; see 3.6.4.

Agreed.

> It is an optional header (because it should NOT appear in origination 
> articles; i.e., the first post) but it should appear in reply posts. 
> Just like the Subject header, the client composing the reply message 
> adds the References header to indicate where within the tree hierarchy 
> of threading the reply should appear to other clients.

The very specific situation that I was referring to is functionally a 
new message and thread based on content of a different message.

I.e. Starting a new thread about "working at Boeing" when someone 
mentions that they saw a model of a Boeing airplane at the swap meet in 
the thread bout said swap meet.

In general, if I feed the need to alter a Subject:, I'm likely to also 
start a new thread.

> Without the References header, there is no threading of articles in a 
> discussion.  Instead all articles would get flattened to all be starter 
> or origination articles and look similar to web-based forums where all 
> posts are flat with no indication of who said what to whom.

Not quite accurate.  Thunderbird (and I'm fairly sure other MUAs) has 
the ability to thread based on subject.

> The References header indicates where to place a reply.  It tracks only 
> one path from starter/parent articles through the branches of a thread 
> down to the position of the reply.

Fair enough.

I hadn't thought about it, but it makes sense and I see no reason to 
disagree.

> Having multiple parents specified in References is not defined.

I ~twitch~ at the idea.

> Servers don't require the References header.  Servers don't use the 
> References header.  You submit your message and the server assigns it an 
> article number to store in its Articles database.  The server doesn't 
> care about threading at all.  It's job is just to accept and deliver 
> articles regardless of how they might be related.

I think some servers can be (and have been) configured to require a 
References: header if the subject starts with "Re:".



-- 
Grant. . . .
unix || die
Technical Details
Message-ID: <pncokb$bqs$1@tncsrv09.home.tnetconsulting.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
References: <pn6m19$1r8h$1@gioia.aioe.org> <1j26lyh9ypc89$.dlg@v.nguard.lh>

Show Full Headers
Complete Article Headers
Message-ID: <pncokb$bqs$1@tncsrv09.home.tnetconsulting.net>
Subject: Re: The "References:" line.
Date: Wed, 12 Sep 2018 22:14:17 -0600
From: Grant Taylor <gtaylor@tnetconsulting.net>
References: <pn6m19$1r8h$1@gioia.aioe.org> <1j26lyh9ypc89$.dlg@v.nguard.lh>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers
Organization: TNet Consulting
Lines: 201
NNTP-Posting-Host: alpha.home.tnetconsulting.net
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: tncsrv09.home.tnetconsulting.net 1536812491 12124 198.18.18.251 (13 Sep 2018 04:21:31 GMT)
X-Complaints-To: newsmaster@tnetconsulting.net
NNTP-Posting-Date: Thu, 13 Sep 2018 04:21:31 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.9.1
In-Reply-To: <1j26lyh9ypc89$.dlg@v.nguard.lh>
Content-Language: en-US
X-Received-Bytes: 9963
X-Received-Body-CRC: 2584498166