🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #68547

Re: New NNTP standard in Working Group Last Call

#68547
From: Russ Allbery
Date: Fri, 12 Mar 2004 23:03
43 lines
3218 bytes
Colin Wilson <colin@wilsonc.demon.co.uk> writes:

> It's probably too late.

> But the only thing I really dislike about it is that it makes official
> the bug in many servers where they send '0' as the message bymber in the
> 2xx response to STAT <message-id>, ARTICLE <message-id>, etc.

This is not a bug; this is completely intentional.  Whether it's the
behavior that you *want* is another question.  :)

There are several difficulties in requiring that the server put a real
article number in those responses.  One is that those commands are
independent of group, so it's not clear which article number to return for
a crossposted article, although as you point out it would be arguably
correct to use the currently selected group if there were one *and* if the
article were posted to it.

The much more serious problem, though, is that just supporting this single
function would add a requirement for a completely new type of mapping to
be maintained on the server, namely a mapping from message ID to newsgroup
name and article number pairs.  Currently, the server is not required to
maintain this mapping for any other reason.

While I agree that there are certain circumstances in which this would be
useful, I think that overhead is considerably higher than is warranted.

> It would be particularly useful for servers that Suck from other
> servers.  To find the next message to suck you could get the message-id
> from the last message you sucked, look up it's number on the server with
> STAT <message-id>, and use the message number returned (+1) as the point
> to continue from.  Instead you've got to do a 'HEAD' and decode the Xref
> to find the message number.

It's nearly as easy to store the last article number that you retrieved,
maintaining a local .newsrc style file.

-- 
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: <87u10t4qie.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.mbox.zip!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!news-out.visi.com!green.octanews.net!news-out.octanews.net!news.glorb.com!logbridge.uoregon.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <871xo3w5c6.fsf@windlord.stanford.edu> <xn0dfommipc6fs004@news.clara.net>

Show Full Headers
Complete Article Headers
Message-ID: <87u10t4qie.fsf@windlord.stanford.edu>
Subject: Re: New NNTP standard in Working Group Last Call
Date: Fri, 12 Mar 2004 15:03:37 -0800
From: Russ Allbery <rra@stanford.edu>
References: <871xo3w5c6.fsf@windlord.stanford.edu> <xn0dfommipc6fs004@news.clara.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!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!news-out.visi.com!green.octanews.net!news-out.octanews.net!news.glorb.com!logbridge.uoregon.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 42
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1079132617 21110 171.64.19.147 (12 Mar 2004 23:03:37 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Common Lisp, linux)
Cancel-Lock: sha1:BDUdcCaHgZ+c8Ua38iSJijiYMdE=