Article View: news.software.nntp
Article #79469Re: Group control thoughts
From: D. Stussy
Date: Wed, 24 Sep 2008 20:21
Date: Wed, 24 Sep 2008 20:21
118 lines
6067 bytes
6067 bytes
"Julien ΓLIE" <iulius@nom-de-mon-site.com.invalid> wrote in message
news:gbcmf1$lv1$1@news.trigofacile.com...
> Hi D. Stussy,
> > 1) Some news servers may be configured to ignore "rmgroup" control
messages
> > because they wish to keep a historical archive of a group in the spool
for a
> > while longer. However, without manual intervention, any such group
could
> > remain postable on such a server. Therefore, I'm suggesting that there
be a
> > local setting where instead of removing a group, its (un)moderation
status
> > gets changed to "x" - making it read-only. For INN, this should be
handled
> > through the etc/control.ctl file on a per-group-wildmat basis.
>
> Is a new <action> type enough for what you want to achieve?
>
> ## <message>:<from>:<newsgroups>:<action>
> ##
> ## <action> What to do:
> ## doit Perform action
> ## drop Ignore message
> ## log One line to error log
> ## mail Send mail to admin
> ## verify-pgp_userid Do PGP verification on
user.
>
> "mark-read-only"?
> It would act for newgroup and rmgroup control messages and would be a
no-op
> (== drop) for other types of control messages.
Yes, that is close enough to the implementation I had in mind. However, I
was merely proposing the idea to see how others liked it (or not).
I assume that "rmgroups" would change (if listed) the moderation status to
"x" for "mark-read-only" instead of removing the group.
I assume that "newgroups" would mark/change the moderation status to "n" for
"mark-read-only". However, I was expecting the control message to direct
this (where it currently permits "y" or "m" by allowing "n" - assuming the
newgroups program/script checks the moderation status and not simply copies
it *). I hadn't initially thought of making autocreated new groups read
only by default, thus requiring news-admin intervention to activiate posting
for users, but that could also be useful -- why not give the admin the
choice?
* - If it's simply copied without checking, then technically we've already
implemented the capability in the newgroup control message. :-)
> > This could
> > also permit a group accidentally (or maliciously) deleted to be restored
> > shortly thereafter. If the group is already marked "j", I leave that
open
> > to decide if that should be changed or ignored.
>
> I do not understand that one. Do you mean that if "j" is used, then
> "mark-read-only" must not change that flag to "x"?
> Why not? I am unsure that something like that should be implemented.
My thought on NOT chainging "j" to "x" is that since it's filed in the junk
group (which can never go away), there's no reason to protect it as there's
no group of that name at the storage level. However, I also note that
changing "j" to "x" will block future postings, so maybe that is OK. I'm
flexible here.
> > 2) I have also noticed that some local/regional/special hierarchies
gate
> > mailing lists in a ONE WAY fashion. For them, the appropriate
moderation
> > status in the active file is "n". Perhaps the "checkgroups" control
> > messages should handle this with a "(No Posting)" tag, similar to that
of
> > "(Moderated)", in the description field. Group creation should also
support
> > this.
>
> Maybe. But it would be better if this behaviour were standardized in
USEPRO...
> (in newgroup messages, the same way we have:
> moderation-flag = SP "(" %x4D.6F.64.65.72.61.74.65.64 ")"
> ; SPACE + case sensitive "(Moderated)"
> )
Any specific reason this is kept case-sensitive in the BNF specification?
Regardless, pick one: "(Read-Only)" or "(No Posting)". I think that "(No
Posting)" is already in use in the descriptions by some - although perhaps
not with that exact case match.
> > I haven't actually looked at the feasability of implementing these but
> > believe that both should be easily done if not trivial. For the moment,
I'm
> > just throwing the ideas out there. Comments?
>
> This change is trivial.
I thought it might be. ;-)
> I also wanted to add a control.ctl.local file to put local changes (thus
> allowing to override the official control.ctl without directly changing
it).
I like that idea too.
One suggestion for the official control.ctl file at ISC:
## CONTROL, EXAMPLE, JUNK, and LOCAL (Restricted Special Hierarchies)
all:*:control|control.*|example|example.*|junk|junk.*|local|local.*:drop
#(or log=ignored)
I.e. make it clear that these will be ignored. Maybe "to|to.*" should also
be in there (is it still used)? Although this may be covered by the
defaults, it's always possible that someone has changed those but forgot
about this possible group-pattern match.
Technical Details
Message-ID:
<gbe7h9$ji$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!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!feeder.erje.net!news.snarked.org!not-for-mailReferences:
<gbbqv3$lcq$1@snarked.org> <gbcmf1$lv1$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <gbe7h9$ji$1@snarked.org> Subject: Re: Group control thoughts Date: Wed, 24 Sep 2008 13:21:59 -0700 From: "D. Stussy" <spam@bde-arc.ampr.org> References: <gbbqv3$lcq$1@snarked.org> <gbcmf1$lv1$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.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!feeder.erje.net!news.snarked.org!not-for-mail Newsgroups: news.software.nntp Lines: 118 Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org> NNTP-Posting-Host: pool-71-118-52-187.lsanca.dsl-w.verizon.net X-Trace: snarked.org 1222287721 626 71.118.52.187 (24 Sep 2008 20:22:01 GMT) X-Complaints-To: newsmaster@snarked.org NNTP-Posting-Date: Wed, 24 Sep 2008 20:22:01 +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