🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #26799

Re: NNTP followup/response method

#26799
From: Curt Welch
Date: Thu, 12 Mar 1998 00:00
39 lines
2348 bytes
mibsoft@mibsoftware.com (Forrest J. Cavalier III) wrote:
> In article <6e6cnl$es$1@cc.tut.fi>, hl57026@uta.fi wrote...
> >I'm writing a light news reader/searcher application and I can't find
> >information about the followup method. If I want a certain new news
> >article to be a response to an existing article, how do I send this
> >article to a news server?
>
> POST it, just like any other article.
> but pay attention (and use) these header fields:
>
>         Followup-To:  (From existing message)

And remember to deal with "Followup-To: poster" (unless your
specal case application can be justified in ignoring this - but
don't ever create a "Newsgroups: poster" line!).

>         Newsgroups:   (If there is no Followup-To:)
>         References:   (Append one, deleting the first one(s) to
>                       limit the line length to 512 bytes)

As pointed out elsewhere, this is the wrong algorithm for dealing
with References: lines.  Read the RFCs and related documents.  Getting
this line correct is very complex.

>         Subject:      If it doesn't already have "Re:", add it.
>                       Otherwise keep it the same.

Not to mention the issues of dealing with RE:, Re^2:, or any of these with
no space after the :.

And don't forget the newer Mail-Copies-To: header, or the issue of
correctly generating the Message-ID: if the Subject: has changed.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Technical Details
Message-ID: <19980312111143.057$HN@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <6e6cnl$es$1@cc.tut.fi> <6e6in9$57q$1@nntp.epix.net>

Show Full Headers
Complete Article Headers
Message-ID: <19980312111143.057$HN@newsreader.com>
Subject: Re: NNTP followup/response method
Date: Thu, 12 Mar 1998 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <6e6cnl$es$1@cc.tut.fi> <6e6in9$57q$1@nntp.epix.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 333365207
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
X-User: Curt@NewsReader.Com
Organization: KCW Consulting
Newsgroups: news.software.nntp