Article View: news.software.nntp
Article #6363Re: Easy Solution Needed
From: J. Porter Clark
Date: Sun, 07 Apr 1996 00:00
Date: Sun, 07 Apr 1996 00:00
36 lines
2101 bytes
2101 bytes
root@oncomdis.on.ca (Systems Operator) writes: >I am looking for a quick script (sh, perl whatever) that will take my >unwanted.log file from INN 1.4 and run a ctlinnd newgroup groupname etc. >I have 1500 areas not added at the moment and don't really think it's >necessary to add them by hand..hehehe...:-) I know of some sites that do this, but one serious drawback of this scheme is that it doesn't set the moderated/unmoderated flag for you. There is no foolproof way of determining whether a newsgroup is moderated or not by looking at the posts in the group. If all of the posts have Approved headers on them, then it is probably a moderated group, but not certainly. Looking at the posts in groups you don't carry is not easy unless you have reading access to a site that does carry them. Another problem is that you'll never remove a group with that strategy. After a while, you'll be carrying groups that have been officially rmgrouped. What I recommend that you do is to download newsgroups.gz from ftp.uu.net (I don't recall offhand exactly where it is, but it is by no means hidden) and run docheckgroups on the resulting newsgroups file. What could be simpler? If you want to blindly create new groups no matter how they sprang into existence, legitimately or otherwise, you might as well rig up control.ctl to create them indiscriminately. At least you will usually get the moderated/unmoderated status right most of the time. -- J. Porter Clark jpc@hammer.msfc.nasa.gov NASA/MSFC Flight Data Systems Branch
Technical Details
Message-ID:
<4k7223$8au@hammer.msfc.nasa.gov>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-mailReferences:
<4k6rsr$arp@oncomdis.on.ca>Show Full Headers
Complete Article Headers
Message-ID: <4k7223$8au@hammer.msfc.nasa.gov> Subject: Re: Easy Solution Needed Date: Sun, 07 Apr 1996 00:00:00 +0000 From: jpc@hammer.msfc.nasa.gov (J. Porter Clark) References: <4k6rsr$arp@oncomdis.on.ca> 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: 146157915 Organization: NASA/MSFC Newsgroups: news.software.nntp