🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #86940

Re: unwanted.log

#86940
From: D. Stussy
Date: Wed, 02 Sep 2015 05:14
22 lines
2386 bytes
"Avon Kerr"  wrote in message news:mrtoh9$rj1$1@news.bbs.geek.nz...
Is there a way to easily take the contents (or some of the contents) of
this log file and run a process to add them to active? Something along the
lines as actsync does when creating newsgroups and by calling ctlinnd ?
-----------
Yes.  I have a script on my system that does just that, and it runs every 3 
days.  Note that it first filters the newsgroups to exclude certain 
hierarchies (which are checkgrouped), certain types (binaries), and will set 
the "m" flag for groups ending ".moderated" and the "n" flag for certain 
hierarchies and test groups.  The script does some other things too, such as 
remove "bork"{3} groups, long names, etc., and places all the aliases for 
groups at the end of my active file.

Of course, one will have missed the posts that came through that caused the 
group to be recorded in the "unwanted.log" file in the first place, but it 
will generally pick up subsequent posts.  As the "newsgroups" file remains 
unchanged, there will be no matching description for these added groups - 
until a checkgroups or newgroup message subsequently comes along.



Technical Details
Message-ID: <ms60jk$hrf$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.(19219).mbox.7z!not-for-mail
References: <mrtoh9$rj1$1@news.bbs.geek.nz>

Show Full Headers
Complete Article Headers
Message-ID: <ms60jk$hrf$1@snarked.org>
Subject: Re: unwanted.log
Date: Tue, 1 Sep 2015 22:14:28 -0700
From: "D. Stussy" <spam@spam.org>
References: <mrtoh9$rj1$1@news.bbs.geek.nz>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
Newsgroups: news.software.nntp
Lines: 20
Reply-To: "D. Stussy" <newsgroups+replies@kd6lvw.ampr.org>
NNTP-Posting-Host: pool-71-106-164-225.lsanca.dsl-w.verizon.net
Mime-Version: 1.0
Content-Type: text/plain;
 format=flowed;
 charset="utf-8";
 reply-type=original
Content-Transfer-Encoding: 7bit
X-Trace: snarked.org 1441170868 18287 71.106.164.225 (2 Sep 2015 05:14:28 GMT)
X-Complaints-To: newsmaster+complaints@snarked.org
NNTP-Posting-Date: Wed, 2 Sep 2015 05:14:28 +0000 (UTC)
X-Newsreader: Microsoft Windows Live Mail 15.4.3538.513
X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3538.513
Importance: Normal
X-No-Archive: Yes
In-Reply-To: <mrtoh9$rj1$1@news.bbs.geek.nz>
X-MSMail-Priority: Normal
X-Received-Body-CRC: 1032399830
X-Received-Bytes: 2345