Article View: news.software.nntp
Article #89869Re: Proposal specifications for MAXARTNUM
From: Franck
Date: Wed, 21 Dec 2022 04:37
Date: Wed, 21 Dec 2022 04:37
78 lines
4274 bytes
4274 bytes
Hello Julien,
>>> [C] STAT 1234567890123456789012345678901234567890 <=== NUMBER
Second form of the command.
>> I think the 223 reply should mention the article number (not 0)
>
> 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.
Sorry but the part you are refering to is reserved for the first form of
the command, witch is "by message-id".
First form (message-id specified)
223 0|n message-id Article exists
Your example show that STAT use the second form, witch is "by number".
Second form (article number specified)
223 n message-id Article exists
So, IN NO WAY the server may replace the article number by "0".
If article number exists, reply is "223 number <msgid> article exists"
and if not, reply is "423 no article with that number".
So, I think your example MUST show the article number in 223 or you must
change STAT to be :
[C] STAT <article@example.net>
[S] 223 0 <article@example.net>
Witch mean the article <article@example.net> exists but is not in the
selected newsgroup (in your example it's 'misc.test').
>> and that the term "retrieved" should rather be "selected" since STAT
>> is a selection command, not a retrieval one.
> I can indeed change "retrieved" to "selected", though RFC 3977 uses the
> term "retrieved" for ARTICLE, BODY, HEAD, STAT, LAST and NEXT.
> I believe it means "trouvé" in this context, and not "récupéré".
For STAT, RFC 3977 use "exists" for the 3 forms of the command, witch
mean article exists and is selected but not retrieved.
But it's just wording and I'm fine with all terms unless code is 223 :)
>> "Xref" header MAY reflect the change too or mention "real" article
>> number even if it is > mutual MAXARTNUM.
>
> I know we discussed it and understood it was useful to alter the header
> field (it is the whole point of not showing article numbers not
> supported by a news client). I am unsure it's worth leaving a door open
> and saying that an implementation MAY not do that whereas they SHOULD > (Not MUST, but SHOULD.)
Ok.
>> My server reply :
>>
>> [S] 501 Argument not understood; Clive, you can't blame me, I really
>> did everything I could!
>>
>> :-)
>
> Ah ah!
> You may want to allow the syntax when the connection comes from
> localhost or your computer if it helps in debugging :-)
Héhé... This syntax is STILL available for ALL in SNS, there is just a
trick to use it! I called it "the clive trick" but I'll NEVER SAY how to
use it, even under threat!
Have nice day,
Franck
Technical Details
Message-ID:
<ANbBf7YUN1E@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-mailReferences:
<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: <ANbBf7YUN1E@news.spitfire-nntp.fr> Subject: Re: Proposal specifications for MAXARTNUM Date: Wed, 21 Dec 2022 05:37:49 +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 04:37:49 +0000 (UTC) Injection-Info: news.spitfire-nntp.fr; posting-host="fOZhgF_6oiOfVYiTciR9M8n8Z49St9Y-XLnW8loHYJYftDdTorsAYqRyAI9CgiHwJmi_Z_bth7XbOM0EMPiq9A=="; posting-account="9Y3Kgn1QCuUzH9G6G93jFwY1_R9cz-lxU0ceiK4Qd5Q="; logging-data="C63a28d9d3b9731e4"; mail-complaints-to="abuse@spitfire-nntp.fr" Cancel-Lock: sha1:vl2o++zLtjjyPlJ82FJFimKY1eg= sha256:E+/OOeIqDbEl6Q3rBCgbFIvCBnVYlLTVj/LWluC64xU= sha1:OmPVap2yoe57lQcuzOaJmYLY1r4= sha256:3huj5ejtQwOGL4ZyXreKLGEAbXWwiZBAyZLvQFtSg5M= Organization: Home of Spitfire News Server, Montpellier (France).