🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #61566

Re: Message-ID generated by newsserver

#61566
From: Curt Welch
Date: Tue, 22 Oct 2002 18:14
90 lines
5363 bytes
Stefaan Claes <sclaes@aaug.net> wrote:
> In article <20021019224600.727$Ng@newsreader.com>,
>    Curt Welch <curt@kcwc.com> wrote:
> [snip]
>
> > I thought there was an RFC which talked about the fact that the message
> > sent in the POST command was a "proto-message" and not a real message.
> > i.e., it was normal to leave those headers out.  Check the NNTP RFCs,
> > you might find something about it there under the POST command.
>
> I can't find anything about a "proto-message" and the inclusion of
> a message-ID when the message is sent by to a newsserver (cf the POST
> command).

It seems it's in the Usefor stuff according to the other post here.  Though
that strikes me as being in the wrong place. check out
http://www.landfield.com/usefor/ for more on that.

> BTW: I looked at several RFC's and one draft (son of RFC1036)

Checking 1998 Stan Barber deaft-ieft-nntpext-base-05.txt draft, I see the
following wording under the POST command:

"The intent is that the server just passes the incoming message to be
posted to the server installations's news posting software, which is not
part of this specification".

This is the cop-out in the spec (and in the orginal NNTP code) which hides
the details you are looking for.  It's the "news posting software" which
has the behavior of adding the missing headers as required.

> > But like has been said, the RFCs don't tend to define Usenet.  People
> > simply try to document Usenet in the RFCs after the fact.  In most
> > cases when people have tried to use the RFCs to change usenet, it
> > fails.
>
> OK. But I assume the convention (that the server generates the message-ID
> if there isn't one yet) is not new.

That's right.  It's very old.  As far as I know, it's always been done like
that.  My experience goes back to about 1990.  It was common behavior of
news software before NNTP was created.  NNTP was first created as a simple
network front-end to news software which was previoslly a local-machine
only application which moved news articles using uucp, not internet
protocols.

You have stumbled on a issue which was part of how the news applicaion
worked and not something that has ever made it into the spec about how the
network interface to news works.

It should be part of the NNTP spec, but just isn't.

> Why is there no RFC which describes this? Or is there a draft about this?

No one has taken the time to write it.  Maybe you would like to?  There are
many details like that that never made it into any RFC.  The RFCs are
Internet standards.  Usenet did not start out as being part of the
Internet.

> Someone suggested to 'use the source'. But why should I look at one
> particular implementation? (i.e. the sources of one newsserver)
> It won't tell me whether a certain feature is implemented by *all*
> newsservers.

It will tell you a lot.  Look at the inn source.  At one time, it was the
only real NNTP server in use.  All servers written after inn were based on
INN.

If you can't find an answer in the RFCs, you have to simply try out a lot
of different servers to see what they all do, and do thing like "read the
source". That's just how Usenet works.  Usenet source and Usenet standards
work just like the rest of Usenet.  No one is in charge.  Everyone does
whatever they can get away with - which is mostly: "If it works, you can do
it".

Here's another NNTP example that has never been correctly documented.  For
the return codes for ARTICLE, HEAD, BODY, and STAT, there are two return
codes for "article not found", 423, and 430.  Just try to figure out when
the server is supposed to return one and when it is supposed to return the
other.  Dnews had it wrong for many years.  My server had it wrong for a
long time.  And if you get it wrong, it tends to break various newsreaders.

The only answer about what to return lies in the inn source.  Because INN
is the granfather of all NNTP based news servers, most behavior issues that
come into question like yours can be answered by looking at what INN does.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20021022141402.799$pP@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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!newsfeed.cwix.com!newsfeed1.cidera.com!Cidera!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <4b880fd8d4sclaes@aaug.net> <20021019224600.727$Ng@newsreader.com> <4b8981c09esclaes@aaug.net>

Show Full Headers
Complete Article Headers
Message-ID: <20021022141402.799$pP@newsreader.com>
Subject: Re: Message-ID generated by newsserver
Date: Tue, 22 Oct 2002 18:14:02 +0000
From: curt@kcwc.com (Curt Welch)
References: <4b880fd8d4sclaes@aaug.net> <20021019224600.727$Ng@newsreader.com> <4b8981c09esclaes@aaug.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!newsfeed.cwix.com!newsfeed1.cidera.com!Cidera!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com +l9v6wJ2AHpo6ZzlFCLrwZu_yvkWEY9BVItDrzSzWT.8K=jj
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/
User-Agent: NewsReader.Com
Lines: 89