🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #21610

control.ctl logic

#21610
From: Michael Faurot
Date: Wed, 17 Sep 1997 00:00
48 lines
2395 bytes
From reading through control.ctl(5), it says the following about the
precedence of matches in the control.ctl file:

	Lines are matched in order; the last match  found  in  the file
	is the one that is used.

So given this, how would I configure control.ctl such that it would
accept all newgroup messages, but NOT act on the control message if
the hierarchy is one that is under pgp-verify control?

For example:

#############################################################################

##      NEWGROUP MESSAGES
##  Any newsgroups
newgroup:*:*:doit

#########################################
# David Lawrence for Big-8 (PGP verified)
#########################################
newgroup:group-admin@isc.org:comp.*|humanities.*|misc.*|news.*|rec.*|
sci.*|soc.*|talk.*:verify-news.announce.newgroups

#############################################################################

Here a legitimate newgroup message from group-admin@isc.org for the
fictional example group "comp.os.linux.example" would be honored, but if
someone other than group-admin@isc.org submitted an illegitimate control
message for "comp.os.linux.example" that would also be honored too because
the "last match found" would be the first line "newgroup:*:*:mail".

Basically, I'd like to keep the line "newgroup:*:*:doit" in the
control.ctl file somewhere to accept newgroup control messages for
everything NOT in the big 8, but without that line being able to affect
the big 8 too . . .

How does one do this?

-- 
+------------------+-------------------------------+-------------------------+
|  Michael Faurot  |  mfaurot/at/phzzzt.atww.org   |  mfaurot/at/clark.net   |
+------------------+-------------------------------+-------------------------+
| In the future, we will put pointy things next to bumpy things. --D.Byrne   |
+----------------------------------------------------------------------------+

Technical Details
Message-ID: <5vnku0$7de$1@phzzzt.atww.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.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <5vnku0$7de$1@phzzzt.atww.org>
Subject: control.ctl logic
Date: Wed, 17 Sep 1997 00:00:00 +0000
From: "Michael Faurot" <look@my.sig>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 273164668
Organization: ATWW
Newsgroups: news.software.nntp