🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89865

Re: Proposal specifications for MAXARTNUM

#89865
From: Julien ÉLIE
Date: Tue, 20 Dec 2022 21:46
79 lines
4036 bytes
Salut Franck,

>>      [C] GROUP misc.test
>>      [S] 211 1 1 1234567890123456789012345678901234567890 misc.test
>>      [C] STAT 1234567890123456789012345678901234567890
>>      [S] 223 0 <article@example.net> retrieved
> 
> 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.

You remark should be taken into account, though.
I'll add a note below the example to say that the article number MAY be 
returned by the STAT command instead of zero (0).



> 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é".

    Example of an attempt to *retrieve* an article using the NEXT command
    when the current article number is that of the last article in the
    group:

       [C] GROUP misc.test
       [S] 211 1234 3000234 3002322 misc.test
       [C] STAT 3002322
       [S] 223 3002322 <411@example.net> retrieved
       [C] NEXT
       [S] 421 No next article to retrieve



> "0" must be used when STAT/HEAD/BODY/ARTICLE commands are used by 
> "message-id" AND if the article number is > mutual MAXARTNUM.

Yes, you're right to recall it.  I've forgotten that rule in the proposal.



> "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.)



>>      [S] 501 Argument not understood; sorry, Clive!
> 
> 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 :-)

-- 
Julien ÉLIE

« – Cet homme qui est sorti du palais, nous renseignera peut-être sur la
     façon d'y entrer. Suivons-le.
   – Mais… Il sait sortir d'accord, mais rien ne prouve qu'il sache
     entrer, et… » (Astérix)
Technical Details
Message-ID: <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
References: <tnqm14$35bas$1@news.trigofacile.com> <COQKXmUsFfY@news.spitfire-nntp.fr>

Show Full Headers
Complete Article Headers
Message-ID: <tntag3$377nh$2@news.trigofacile.com>
Subject: Re: Proposal specifications for MAXARTNUM
Date: Tue, 20 Dec 2022 22:46:43 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <tnqm14$35bas$1@news.trigofacile.com> <COQKXmUsFfY@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
Newsgroups: news.software.nntp
Organization: Groupes francophones par TrigoFACILE
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 20 Dec 2022 21:46:43 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="176-143-2-105.abo.bbox.fr:176.143.2.105"; logging-data="3383025"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.0
Cancel-Lock: sha1:cigAe5us3KGxpoRNk6TatlqZvzk= sha256:Qukufd7iuf6nIZNpYJZ4J2L7M2WcHYWt0SHk+NVENdE= sha1:sTDMsCMoDGsfSryksf5y9ZGV6qc= sha256:D0Krh2KDZ5VV0XLDei37q8hv8TIWWgUTFdB85u14hY0=
In-Reply-To: <COQKXmUsFfY@news.spitfire-nntp.fr>