🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #78590

Re: NNTP Protocol / XOVER question

#78590
From: Russ Allbery
Date: Sun, 27 Jan 2008 01:54
32 lines
2411 bytes
Jason <jecheney@gmail.com> writes:

> If I have a message-id of an article i.e
> "<wvCdnQmgfoZEjw7anZ2dnUVZ8q7inZ2d@giganews.com>" how do i go about
> getting the numerical article number of it to use with the XOVER
> command?

> If i do "HEAD <wvCdnQmgfoZEjw7anZ2dnUVZ8q7inZ2d@giganews.com>" i cant
> see anything relevant to the article number in the message headers,
> and from what i can understand the article number is relevant to the
> current group. Any ideas on how i get this number?

Unless the article contains an Xref header, there is no way to do what you
want to do.

> Also on a side note, is it considered ok for a client to assume that
> NNTP extensions such as XOVER are implemented in modern servers?

For XOVER, yes.

> Or is the correct thing to do check the HELP command for supported
> commands beforehand?

HELP may or may not list available commands.  LIST EXTENSIONS in the
current NNTP protocol standard will do so, but it may or may not be
implemented.

-- 
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: <87zlusuj7p.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!number1.nntp.dca.giganews.com!bcklog2.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!out01a.usenetserver.com!news.usenetserver.com!in02.usenetserver.com!news.usenetserver.com!postnews.google.com!news2.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <4aea3831-259e-4cf9-b690-43078c8794dc@d70g2000hsb.googlegroups.com>

Show Full Headers
Complete Article Headers
Message-ID: <87zlusuj7p.fsf@windlord.stanford.edu>
Subject: Re: NNTP Protocol / XOVER question
Date: Sat, 26 Jan 2008 17:54:02 -0800
From: Russ Allbery <rra@stanford.edu>
References: <4aea3831-259e-4cf9-b690-43078c8794dc@d70g2000hsb.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!number1.nntp.dca.giganews.com!bcklog2.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!out01a.usenetserver.com!news.usenetserver.com!in02.usenetserver.com!news.usenetserver.com!postnews.google.com!news2.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 32
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1201398842 3000 171.64.19.147 (27 Jan 2008 01:54:02
 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)
Cancel-Lock: sha1:X7f6NcPgFzeWuD/uQW5eStvNouk=