🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82241

Proposal for new status fields for newsgroups

#82241
From: Julien ÉLIE
Date: Sat, 28 Nov 2009 23:30
227 lines
12295 bytes
Hi,

In case you have any comments or special need on status fields
returned by LIST ACTIVE, do not hesitate to speak up.
Expectations from news readers, how they can be used, implementation
on news servers, etc.


New status fields

   The LIST ACTIVE command is defined in Section 7.6.3 of [RFC3977].
   The fourth field of each line of this list indicates the current
   status of the newsgroup whose name is specified in the first field.
   Three status are defined in [RFC3977]:

   "y"  Posting is permitted.

   "n"  Posting is not permitted.

   "m"  Postings will be forwarded to the newsgroup moderator.

   This document defines five other status which can also be used:

   "l"  Only local posting is permitted.

   "lm"  Only local posting is permitted and will be forwarded to the
      newsgroup moderator.

   "j"  Posting is permitted but no articles are locally filed.

   "x"  Postings and articles from peers are not permitted.

   "=other.group"  Articles are filed under the newsgroup named
      "other.group".

   The server SHOULD use these values when these meanings are required
   and MUST NOT use them with any other meaning.

   A newsgroup with status "l" is a newsgroup with status "y" wherein
   articles from peers are not accepted.  Similarly, a newsgroup with
   status "lm" is a newsgroup with status "m" wherein articles from peers
   are not accepted.

   The difference between a newsgroup with status "y" and a newsgroup
   with status "j" is that articles are filed into the corresponding
   newsgroup for the former, and not filed at all for the latter.  If an
   article is locally posted to a newsgroup with status "j" or is
   received from a peer, and in case it is not crossposted to some other
   valid groups, it will not be filed into a newsgroup on the news
   server.  Yet, this article will still be propagated to other peers,
   if appropriate.  Otherwise, in case this article is crossposted to
   some other valid groups, it will be filed only into the valid
   newsgroups it is crossposted to.

      NOTE:  Instead of not filing at all an article posted to a
      newsgroup with status "j", a news server MAY file it under a
      catch-all group.  When a news server uses a catch-all group to
      file the articles posted to newsgroups with status "j", this
      catch-all group SHOULD be named "junk".  (The first letter of the
      "junk" newsgroup explains why this status has been called "j".)

      Consequently, when a news server carries the "junk" newsgroup and
      uses it for the purpose of the "j" status, the "junk" newsgroup
      contains all the postings which cannot file under a newsgroup
      name, whatever the status of the "junk" newsgroup is.  (However,
      an article posted explicitly to "junk" is treated according to the
      status of the "junk" newsgroup.)

      This newsgroup may be available to news readers and is often used
      by a news server as a way to locally store an article with the
      view to transmitting it to its peers (which may carry some of the
      newsgroups the article was posted to).  Besides, instead of
      rejecting an article which contains an invalid Newsgroups header
      or which is posted to newsgroups it does not carry, a news server
      may accept such an article and file it under this catch-all "junk"
      newsgroup.

      Depending on the configuration of the news server, mentioning a
      newsgroup with status "j" is different than simply not listing the
      group, since articles arriving in unknown newsgroups may be
      rejected.

   The difference between a newsgroup with status "n" and a newsgroup
   with status "x" is that articles from peers are accepted for the
   former, and rejected for the latter.  A newsgroup with status "x" is
   considered as closed:  no new articles will arrive in such a group.
   On the contrary, articles from peers will arrive in a newsgroup with
   status "n".  Local postings are not allowed in a newsgroup with one
   of these two status.

   When the status field begins with an equal sign ("=" or %x3D), the
   name of an existing newsgroup on the news server MUST immediately
   follow the sign.  If the status field of "foo.bar" is "=other.group",
   it means that "foo.bar" is an alias for "other.group".  These two
   newsgroups are distinct; they do not share their articles or their
   article numbers.  Local postings to "foo.bar" are not allowed, but
   articles from peers are accepted for "foo.bar" and filed into
   "other.group", whatever the status of "other.group" is.  The contents
   of their Newsgroups headers MUST NOT be altered.

   Alias groups are typically used during a transition between two
   newsgroups.

   An alias MUST NOT point to another alias group.  The newsgroup an
   alias points to SHOULD exist on the news server.  If an alias is
   listed in the active list, the newsgroup it points to is not also
   listed in the active list when a wildmat is given to the LIST ACTIVE
   command, and the name of the newsgroup the alias points to does not
   match this wildmat.

   The following table summarizes what usually happens to an article
   posted to only the newsgroup "foo.bar", depending on its status field
   on the news server:

   +--------------+-----------+------------+------------+--------------+
   | Status field | Accepted  | Accepted   | Moderation | Destination  |
   | of "foo.bar" | if local  | from       | needed?    | if accepted? |
   |              | posting?  | peers?     |            |              |
   +--------------+-----------+------------+------------+--------------+
   | y            | Yes       | Yes        | No         | foo.bar      |
   | n            | No        | Yes        | No         | foo.bar      |
   | m            | Yes       | Yes        | Yes        | foo.bar      |
   | l            | Yes       | No         | No         | foo.bar      |
   | lm           | Yes       | No         | Yes        | foo.bar      |
   | j            | Yes       | Yes        | No         | junk (if     |
   |              |           |            |            | filed)       |
   | x            | No        | No         | No         |              |
   | =other.group | No        | Yes        | No         | other.group  |
   +--------------+-----------+------------+------------+--------------+

      NOTE:  If a server files newsgroups with status "j" into "junk", a
      newsgroup with status "j" and a newsgroup with status "=junk" are
      different.  For instance, a local posting to only the former will
      be accepted and filed into "junk" whereas a local posting to only
      the latter will not be accepted.

   The following table summarizes what usually happens to an article
   crossposted to the newsgroup "foo.bar" and a valid newsgroup
   "misc.test" (whose status field is "y") known by the news server,
   depending on the status field of "foo.bar" on the news server:

   +--------------+-----------+------------+------------+--------------+
   | Status field | Accepted  | Accepted   | Moderation | Destination  |
   | of "foo.bar" | if local  | from       | needed?    | if accepted? |
   |              | posting?  | peers?     |            |              |
   +--------------+-----------+------------+------------+--------------+
   | y            | Yes       | Yes        | No         | foo.bar,     |
   |              |           |            |            | misc.test    |
   | n            | No        | Yes        | No         | foo.bar,     |
   |              |           |            |            | misc.test    |
   | m            | Yes       | Yes        | Yes        | foo.bar,     |
   |              |           |            |            | misc.test    |
   | l            | Yes       | No         | No         | foo.bar,     |
   |              |           |            |            | misc.test    |
   | lm           | Yes       | No         | Yes        | foo.bar,     |
   |              |           |            |            | misc.test    |
   | j            | Yes       | Yes        | No         | misc.test    |
   | x            | No        | Yes        | No         | misc.test    |
   | =other.group | No        | Yes        | No         | other.group, |
   |              |           |            |            | misc.test    |
   +--------------+-----------+------------+------------+--------------+

      NOTE:  The status of a newsgroup only indicates how articles
      arriving to that newsgroup are normally processed; news servers
      MAY provide clients with special privileges to allow or disallow
      some rights in these newsgroups.  This specification defines
      neither these rights nor whether or not articles posted to these
      groups should be propagated to other peers.

      If the news server may accept articles from the client during the
      session (possibly after successful authentication), it SHOULD NOT
      return a status like "n" or "x" which suggests that articles are
      not accepted in the corresponding newsgroup.

Example

   Example of an article posted to an alias group by a peer:

      [C] LIST ACTIVE
      [S] 215 List of newsgroups follows
      [S] foo.bar 21 12 y
      [S] misc.test 3002322 3000234 =foo.bar
      [S] .
      [C] IHAVE <for.misc.test@example.com>
      [S] 335 Send it; end with <CR-LF>.<CR-LF>
      [C] Path: demo!.POSTED.somewhere!not-for-mail
      [C] From: "Demo User" <nobody@example.com>
      [C] Newsgroups: misc.test
      [C] Subject: I am just a test article
      [C] Date: 18 Oct 2009 04:48:12 +0200
      [C] Organization: An example, Paris, FR.
      [C] Message-ID: <for.misc.test@example.com>
      [C]
      [C] This is just a test article.
      [C] .
      [S] 235 Article transferred OK
      [C] LIST ACTIVE
      [S] 215 List of newsgroups follows
      [S] foo.bar 22 12 y
      [S] misc.test 3002322 3000234 =foo.bar
      [S] .
      [C] HDR Xref <for.misc.test@example.com>
      [S] 225 Header information follows
      [S] 0 news.server.com foo.bar:22
      [S] .
      [C] HDR Newsgroups <for.misc.test@example.com>
      [S] 225 Header information follows
      [S] 0 misc.test
      [S] .

   The Newsgroups header of this article is kept untouched.  This
   article is filed under "foo.bar" even though it has originally been
   posted, and still propagates to other peers, to the newsgroup
   "misc.test".

ABNF syntax

     newsgroup-status =/ %x6c / %x6c.6d /  ; case-sensitive "l" and "lm"
           %x6A / %x78 /                   ; case-sensitive "j" and "x"
           newsgroup-alias
     newsgroup-alias =  "=" newsgroup-name

-- 
Julien ÉLIE

« On ne va jamais si loin que lorsque l'on ne sait pas où l'on va. » 
Technical Details
Message-ID: <hesbr3$m1n$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <hesbr3$m1n$1@news.trigofacile.com>
Subject: Proposal for new status fields for newsgroups
Date: Sun, 29 Nov 2009 00:30:40 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp,news.software.readers
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 227
NNTP-Posting-Host: aaubervilliers-151-1-48-186.w83-114.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="ISO-8859-15";
 reply-type=original
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1259451043 22583 83.114.132.186 (28 Nov 2009
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Sat, 28 Nov 2009 23:30:43 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049
X-Original-Bytes: 12104