🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89870

Re: Proposal specifications for MAXARTNUM

#89870
From: Franck
Date: Wed, 21 Dec 2022 06:55
57 lines
3352 bytes
Salut Julien,

> Not necessarily.  It is just a MAY according to RFC 3977:
> 
>     In the response, the article number MUST be replaced with zero,
>     unless there is a currently selected newsgroup and the article is
>     present in that group, in which case the server MAY use the article's
>     number in that group.

Let's see what are the replies from your server :

200 news.trigofacile.com InterNetNews NNRP server INN 2.8.0 (20221119 
prerelease) ready (no posting)

STAT <tnnd16$m9g$1@shakotay.alphanet.ch>
223 0 <tnnd16$m9g$1@shakotay.alphanet.ch> status

OK, article exists and 0 because no newsgroup is selected.

GROUP fr.test
211 25213 4089 50948 fr.test
STAT <tnnd16$m9g$1@shakotay.alphanet.ch>
223 0 <tnnd16$m9g$1@shakotay.alphanet.ch> status

Ok, article exists and 0 is not an error because RFC say "MAY use the 
article's number in that group".

STAT 50948
223 50948 <tnnd16$m9g$1@shakotay.alphanet.ch> status

Ok, article is requested "by number" and the reply shows the article number.


Let's see what are the replies from my server :

200 news.spitfire-nntp.fr running Spitfire News Server 0.9 (Posting 
allowed).
STAT <tnnd16$m9g$1@shakotay.alphanet.ch>
223 0 <tnnd16$m9g$1@shakotay.alphanet.ch> article exists.
GROUP fr.test
211 178 10557 10738 fr.test group selected.
STAT <tnnd16$m9g$1@shakotay.alphanet.ch>
223 10738 <tnnd16$m9g$1@shakotay.alphanet.ch> article exists.
STAT 10738
223 10738 <tnnd16$m9g$1@shakotay.alphanet.ch> article selected.

The only difference is that SNS shows article number when article is 
requested by message-id (if it is in the selected newsgroup).

Also wording is a bit more explicit than "status" and use "exist" or 
"selected" for the differents forms of command.

Wording is different because when the command is used with a message-id, 
it's just a check, article is not selected.

Have nice day,
Franck
Technical Details
Message-ID: <BhwvyMb9wvk@news.spitfire-nntp.fr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <tnqm14$35bas$1@news.trigofacile.com> <COQKXmUsFfY@news.spitfire-nntp.fr> <tntag3$377nh$2@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <BhwvyMb9wvk@news.spitfire-nntp.fr>
Subject: Re: Proposal specifications for MAXARTNUM
Date: Wed, 21 Dec 2022 07:55:16 +0100
From: Franck <Em@il.invalid>
References: <tnqm14$35bas$1@news.trigofacile.com> <COQKXmUsFfY@news.spitfire-nntp.fr> <tntag3$377nh$2@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0
Content-Language: fr
Newsgroups: news.software.nntp
In-Reply-To: <tntag3$377nh$2@news.trigofacile.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 21 Dec 2022 06:55:17 +0000 (UTC)
Injection-Info: news.spitfire-nntp.fr; posting-host="23SKOMqmdKt-foQ-qsvAYBUkvKQrSaY03BL9fiYJpRyIJX5FyYRWHMiH7RpCGgRCSad2VudZCGuuhH5QI8w64w=="; posting-account="r40bmIRNwWRLdkMiuVPLp9CRB7t7r-yRYdepvhZv0v8="; logging-data="C63a2add4086a0b6c"; mail-complaints-to="abuse@spitfire-nntp.fr"
Cancel-Lock: sha1:8j1N1V1HrwWG2/CWNx8UoGPCa0U= sha256:nxZ4mhE3bfxR14Blun/RiRfcG+l+qIaka9hZi/WgMxQ= sha1:XAn3/bNu5NSWm3hyL52NLFET4TQ= sha256:5M4AeOd2IEGDyx0MKDCJ61LyJHOMenfEPCvZm3J5NqQ=
Organization: Home of Spitfire News Server, Montpellier (France).