🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81102

Re: NNTP Protocol Question

#81102
From: Russ Allbery
Date: Tue, 26 May 2009 18:37
39 lines
2308 bytes
Jason <jecheney@gmail.com> writes:

> Little question with regards to the NNTP protocol.
>
> Say I have a posts message ID, and also know that its been cross
> posted to three groups a,b and c.
>
> Firstly is that message ID 100% unique among all posts on the server?

Yes.

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

Yes.

> 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?

No, you can either retrieve the article by number from a group (after
sending a GROUP command) or you can retrieve it by message ID directly
with ARTICLE.

Note that the number of the article within each group will be different.
Article numbers are specific to groups.  But the message ID will always
be the same.

> Currently, I just connect/authenticate and run ARTICLE <id> and it
> find it and downloads it without me specifying the group first. Is
> this an acceptable approach, or could it introduce problems?

That's fine.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <87tz37r9rf.fsf@windlord.stanford.edu>
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.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!news.glorb.com!headwall.stanford.edu!news.stanford.edu!not-for-mail
References: <a23aa396-426d-4f14-b9dc-540da7da4027@n8g2000vbb.googlegroups.com>

Show Full Headers
Complete Article Headers
Message-ID: <87tz37r9rf.fsf@windlord.stanford.edu>
Subject: Re: NNTP Protocol Question
Date: Tue, 26 May 2009 11:37:08 -0700
From: Russ Allbery <rra@stanford.edu>
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.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!news.glorb.com!headwall.stanford.edu!news.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 39
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.stanford.edu 1243363028 1975 171.67.225.134 (26 May 2009
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux)
Cancel-Lock: sha1:RFDjuDXp8IC1Y0xGhp5qnI+xHQA=