Article View: news.software.nntp
Article #82246Re: Proposal for new status fields for newsgroups
From: D. Stussy
Date: Sun, 29 Nov 2009 02:54
Date: Sun, 29 Nov 2009 02:54
321 lines
17022 bytes
17022 bytes
"Julien ΓLIE" <iulius@nom-de-mon-site.com.invalid> wrote in message
news:hesbr3$m1n$1@news.trigofacile.com...
> 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.
I don't like this. The local-permitting system should have a "y" and other
servers an "n".
(see also below)
> "lm" Only local posting is permitted and will be forwarded to the
> newsgroup moderator.
I don't like this either. I think it should just be "m". We don't need to
specially mark "local groups" with an "L".
(see also below)
> "j" Posting is permitted but no articles are locally filed.
Isolated posting is PROHIBITED: The group "does not exist" as far as the
local server is concerned. Cross-posting (with a carried group) may occur
but no article is locally filed to the "j"-marked group. The group is
listed in the active file (INN) only for the purpose of passing the group
through to other peers. That's why my recent patch screens OUT "j" groups
from the "LIST ACTIVE" output (as well as "=" groups). That's why I skip
creating an empty traditional overview fileset for them. They don't
locally exist.
> "x" Postings and articles from peers are not permitted.
Note: Postings to the "junk", "to", and "control" hierarchy pseudogroups
still occur when those groups are marked with an "x".
My patch presents "x" groups in the "LIST ACTIVE" output only when the
highmark is not zero (i.e. something, sometime, was posted to the group).
Otherwise, they are NOT included and therefore not presented to the client.
Again, empty overview files are not created for them (at initialization).
> "=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.
If you disagree with my comments regarding "L" (I use the capital because
in some fonts, the lower case "l" and "1", the digit, look identical), I
then also suggest that it appear as a SUFFIX: "yl" and "ml". That way,
older reader programs that expect or look at only the first character will
still function properly, especially for "ml" where a message to a moderator
is needed.
For INN: Doesn't the screening of groups ("patterns") in
"{pathetc}/incoming.conf" and a choice of patterns fed from peers generally
take care of the same function as "L"?
> 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
...not filed LOCALLY for the latter. (Peers may file them if they're
not "j"-flagged elsewhere)
> 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.
An article locally posted only to "j"-marked groups will NOT be propagated
to other peers. Articles from peers to "j"-marked groups may be passed on
to other peers.
> 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".)
..., this catch-all group has historically been named "junk".
I don't think that we should fix the name of the junk group in an RFC. All
that we need require is that its name not clash with any currently defined
newsgroup. We may say in the RFC that historically, the name of such a
group is "junk", but we need not enforce this. "trash", "garbage",
"pass-through", or "unfiled" are equally representative names unlikely to
be used for a real group name.
> 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
...contains all postings not filed under another 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.)
I do agree with the above "however", but we could also say that postings
explicitly to "junk" should not be permitted. Granted, I mark my junk
group with an "x" flag so the result is the same, but that's because I have
locally chosen such. Should posting explicitly to the "junk" newsgroup
ever be permitted?
> 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.
Note: Pseudogroups "control"/"control.*", "junk", and "to", even when
marked with "x", may have articles filed that meet their special criteria.
As we have mentioned the "junk" group above, it is important to repeat that
its status of "x" will still permit unfiled articles to be filed to it.
Marking "junk" with an "x" will only block articles explicitly posted to
it, not unfiled articles filed to it.
> 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.
...or %x3D...: I would delete that. We don't encode hexidecmal values in
a "LIST ACTIVE" output.
"whatever the status of 'other.group' is.": "regardless of the status of
'other.group'." looks better.
> Alias groups are typically used during a transition between two
> newsgroups.
..., including but not limited to a renaming of a group, or a correction
of a misspelled group name. (cf. "alt.*" hierarchy).
> 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 newsgroup an alias points to MUST exist on the news server.
If it doesn't exist, how's the redirected article going to be filed? It
won't be; an error results.
My patch will not list the aliases (those with a "=" flag) for "LIST
ACTIVE", so I don't have to check to see if the canonical (target) group
exists.
> 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 |
yl
> | lm | Yes | No | Yes | foo.bar |
ml
> | j | Yes | Yes | No | junk (if |
NO!
> | | | | | 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 latter form may cause cross-posted articles from peers with the "junk"
group, while the former will not.
> 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.
... unless authentication makes no difference to the group's posting
status.
> 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
Suggested change from above: "l" -> "yl", and "lm" -> "ml".
Technical Details
Message-ID:
<hesnpr$bd7$1@snarked.org>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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!weretis.net!feeder1.news.weretis.net!news.snarked.org!not-for-mailReferences:
<hesbr3$m1n$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <hesnpr$bd7$1@snarked.org> Subject: Re: Proposal for new status fields for newsgroups Date: Sat, 28 Nov 2009 18:54:40 -0800 From: "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> References: <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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!weretis.net!feeder1.news.weretis.net!news.snarked.org!not-for-mail Newsgroups: news.software.nntp,news.software.readers Lines: 321 Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org> NNTP-Posting-Host: pool-71-118-30-21.lsanca.dsl-w.verizon.net X-Trace: snarked.org 1259463291 11687 71.118.30.21 (29 Nov 2009 02:54:51 GMT) X-Complaints-To: newsmaster+complaints@snarked.org NNTP-Posting-Date: Sun, 29 Nov 2009 02:54:51 +0000 (UTC) X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1478 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478