Article View: news.software.nntp
Article #89884Re: Proposal specifications for MAXARTNUM
From: Julien ÉLIE
Date: Thu, 22 Dec 2022 17:47
Date: Thu, 22 Dec 2022 17:47
101 lines
6359 bytes
6359 bytes
Salut Franck,
>> For newsgroup name, when I look at my code, I see that there is a
>> limit of 66 characters and that each component must not exceed 14
>> characters.
>>
>> I don't know where I got these limits, but one thing is certain, I
>> didn't impose them on my own. I have to find where I got them ^^
>
> I think theses limits where found in an article by David W. Wright,
> "Guidelines on Usenet Newsgroup Names" (1999).
>
> To date it seems that components may be up to 14, 20 or 30 chars (even
> if 14 is recommended). I do not see the 66 chars size limit anymore.
INN currently does not enforce a maximum length on either a manual
creation by the news admin or from newgroup control messages.
Only the number of components is checked and is limited to 9 for
newgroup control messages treated by INN.
control-archive (for the ftp.isc.org active and newsgroups file)
probably also enforces some rules.
As for limits, there no longer seems to be any in current RFCs.
RFC 1849 (Son of 1036) enforces one for the components, but was
obsoleted by RFC 5536, so the following paragraphs *no* longer apply:
A plain component MUST contain at least one letter, MUST begin
with a letter or digit, and MUST NOT be longer than 14 characters.
NOTE: Much existing software converts the newsgroup name into a
directory path and stores the articles themselves using numeric
filenames, so all-digit name components can be troublesome; the
"Great Renaming" early in the history of Usenet included revisions
of several newsgroup names to eliminate such components.
NOTE: The same storage technique is the reason for the
14-character limit. The limit is now largely historical, since
most modern systems have much larger limits on the length of a
directory entry's name, but many old systems are still in use.
Systems with shorter limits also exist, but news software on such
systems has had to deal with the problem already, since there are
several widespread newsgroups with 14-character components in
their names. Implementors are warned that it is intended that the
successor to this Draft will increase the 14-character limit, and
they are urged to fix their software to handle longer names
gracefully (if such fixes are necessary, given the intended domain
of application of the particular software).
Also note the USEAGE Internet-Draft which enforces a limit of 30 chars
for a component, and 66 for a newsgroup name:
https://www.ietf.org/archive/id/draft-ietf-usefor-useage-01.txt
3.1.1.5. Newsgroups
There are restrictions on the length of components of <newsgroup-
name>s, and on the <newsgroup-name>s themselves, as described more
fully in 7.2. Posting and injecting agents MAY attempt to enforce
them but, because of the possibility that hierarchy policies or
future standards may relax them, it SHOULD be possible for posters to
override such checks, and software MUST be so written that they can
be disabled altogether.
7.2. Naming of Newsgroups
A <component> is limited to 30 <component-char>s and a
<newsgroup-name> to 66 <component-char>s (counting also the '.'s
separating the <component>s).
NOTE: Whilst there is no longer any technical reason to limit
the length of a <component> (formerly, it was limited to 14
octets) nor of a <newsgroup-name>, it should be noted that these
names are also used in the <newsgroups-line> where another
overall policy limit applies (7.1) and, moreover, excessively
long names can be exceedingly inconvenient in practical use. The
66 limit on <newsgroup-name>s ensures that a Followup-To Header
with such a name will still fit within 79 characters overall.
7.1. Control Messages
Although, in accordance with [RFC 2822], a <newsgroups-line> (as
found in both 'newgroup' and 'checkgroups' messages) could have a
maximum length of 998 octets, as a matter of policy a far lower
limit, expressed in characters, SHOULD be set. The current convention
is to limit its length so that the <newsgroup-name>, the HTAB(s)
(interpreted as 8-character tabs that takes one at least to column
24) and the <newsgroup-description> (excluding any <moderation-flag>)
fit into 79 characters. This document does not seek to enforce any
such rule, but any decision to extend it should be made as a specific
decision for the hierarchy. Reading agents SHOULD therefore enable a
<newsgroups-line> of any length to be displayed, e.g. by wrapping it
as required.
--
Julien ÉLIE
« La moitié des hommes politiques sont des bons à rien. Les autres sont
prêts à tout. » (Coluche)
Technical Details
Message-ID:
<to257m$3alfe$1@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-mailReferences:
<tnqm14$35bas$1@news.trigofacile.com> <wwvwn6lggvf.fsf@LkoBDZeT.terraraq.uk> <tnvor4$38u1h$1@news.trigofacile.com> <A7nmgtyj5sE@news.spitfire-nntp.fr> <BR6gwIIBp0Y@news.spitfire-nntp.fr>Show Full Headers
Complete Article Headers
Message-ID: <to257m$3alfe$1@news.trigofacile.com> Subject: Re: Proposal specifications for MAXARTNUM Date: Thu, 22 Dec 2022 18:47:34 +0100 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <tnqm14$35bas$1@news.trigofacile.com> <wwvwn6lggvf.fsf@LkoBDZeT.terraraq.uk> <tnvor4$38u1h$1@news.trigofacile.com> <A7nmgtyj5sE@news.spitfire-nntp.fr> <BR6gwIIBp0Y@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: Thu, 22 Dec 2022 17:47:34 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="san13-h02-176-143-2-105.dsl.sta.abo.bbox.fr:176.143.2.105"; logging-data="3495406"; 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.1 Cancel-Lock: sha1:xop5jFhDkw8TZhSE8lrne2whH6k= sha256:qE9ygLfjDQiwi8ceUliDtqr1ItoEyKqrtEqdp4E4viA= sha1:pEQwVTztrHd38ltBimtL20gBNVM= sha256:fnq5vzgwuDVZ6APoivSYUKlSXdyHRkYKYvTBB3OBFU8= In-Reply-To: <BR6gwIIBp0Y@news.spitfire-nntp.fr>