πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81101

Re: NNTP Protocol Question

#81101
From: Xavier Roche
Date: Tue, 26 May 2009 18:43
38 lines
2752 bytes
Jason a Γ©crit :
> Firstly is that message ID 100% unique among all posts on the server?

In theory, yes. (Except if the server was bogus)

RFC 850
"The same message ID may not be reused during the lifetime of any 
article with the  same  message ID.   (It  is recommended that no 
message ID be reused for at least two years.)"

And in many cases, the generated message-id is "permanently" globally 
unique, because built using
- with the site's hostname (FQDN or equivalent) as right part
- a temporaly unique site-specific id (timestamp, random hash, ..) (as 
suggested by RFC 850: "For example,  the  "unique"   part   could   be 
  an   integer representing  a  sequence number for articles submitted 
to the network, or a short string derived from the  date  and time  the 
article was created")

> Secondly, will all three of those cross-posts share the same message
> ID?

Yes. This is the same article presented in multiple groups, actually.

> And finally to retrieve this cross-posted article, do I (or should I)
> have to specify the group before retrieving the article with the GROUP
> command?

RFC 977 is not totally clear, but RFC 3977 is explicit:
    First form (message-id specified)
      220 0|n message-id    Article follows (multi-line)
      430                   No article with that message-id

Hence, the "No newsgroup selected" reply is not possible with the 
ARTICLE <MID> form.

(And AFAIK no server require to be in a group to fetch an article by 
message-id)
Technical Details
Message-ID: <gvhd9o$d6j$1@news.httrack.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.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!tiscali!newsfeed1.ip.tiscali.net!proxad.net!feeder1-2.proxad.net!exabot.com!porbandar.httrack.net!montbard.httrack.net!news.httrack.net!not-for-mail
References: <a23aa396-426d-4f14-b9dc-540da7da4027@n8g2000vbb.googlegroups.com>

Show Full Headers
Complete Article Headers
Message-ID: <gvhd9o$d6j$1@news.httrack.net>
Subject: Re: NNTP Protocol Question
Date: Tue, 26 May 2009 20:43:58 +0200
From: Xavier Roche <xroche@free.fr.NOSPAM.invalid>
References: <a23aa396-426d-4f14-b9dc-540da7da4027@n8g2000vbb.googlegroups.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.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!tiscali!newsfeed1.ip.tiscali.net!proxad.net!feeder1-2.proxad.net!exabot.com!porbandar.httrack.net!montbard.httrack.net!news.httrack.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Nowhere Corp.
Lines: 38
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.httrack.net 1243363448 13523 192.168.1.1 (26 May 2009 18:44:08
 GMT)
X-Complaints-To: usenet@httrack.com
NNTP-Posting-Date: Tue, 26 May 2009 18:44:08 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; fr-FR;
In-Reply-To: <a23aa396-426d-4f14-b9dc-540da7da4027@n8g2000vbb.googlegroups.com>