Thread View: news.software.nntp
5 messages
5 total messages
Started by D. Stussy
Tue, 23 Sep 2008 22:35
Group control thoughts
Author: D. Stussy
Date: Tue, 23 Sep 2008 22:35
Date: Tue, 23 Sep 2008 22:35
23 lines
2339 bytes
2339 bytes
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. 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. 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. 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?
Re: Group control thoughts
Author: Russ Allbery
Date: Tue, 23 Sep 2008 23:14
Date: Tue, 23 Sep 2008 23:14
32 lines
2559 bytes
2559 bytes
"D. Stussy" <spam@bde-arc.ampr.org> writes:
> 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. 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.
That would be a cool feature.
> 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.
This would also be relatively easy to implement; the only possible problem
would be if someone used that tag with some other meaning, which seems
unlikely.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Group control thoughts
Author: Julien ÉLIE
Date: Wed, 24 Sep 2008 06:24
Date: Wed, 24 Sep 2008 06:24
64 lines
4033 bytes
4033 bytes
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.
> 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.
> 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)"
)
> 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 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).
--
Julien ÉLIE
« Être raisonnable en toutes circonstances. Il faudrait être fou... » (Raymond Devos)
Re: Group control thoughts
Author: 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.
Re: Group control thoughts
Author: Julien ÉLIE
Date: Wed, 24 Sep 2008 21:04
Date: Wed, 24 Sep 2008 21:04
56 lines
3377 bytes
3377 bytes
Hi D. Stussy,
> 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 *).
There is no one-letter flag...
Newgroup-command = "newgroup" Newgroup-arguments
Newgroup-arguments = 1*WSP newsgroup-name
[ 1*WSP newgroup-flag ]
newgroup-flag = "moderated"
> 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.
It is indeed easier to implement because it does not need to parse the
active file, looking for the existing status flag of the newsgroup.
> 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 see that the default newsgroups file of INN is:
control Various control messages (no posting).
control.cancel Cancel messages (no posting).
control.checkgroups Hierarchy check control messages (no posting).
control.newgroup Newsgroup creation control messages (no posting).
control.rmgroup Newsgroup removal control messages (no posting).
junk Unfiled articles (no posting).
Hmm... Maybe it would be better with:
control Various control messages. (No Posting)
or " (No posting)"?
> Maybe "to|to.*" should also be in there (is it still used)?
These are local newsgroups. Maybe still used by some sites (?)
--
Julien ÉLIE
« Tout homme devrait un jour se marier ;
après tout, le bonheur n'est pas la seule chose dans la vie. »
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads