🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #15842

Re: purging junk directory

#15842
From: Dean Carpenter
Date: Thu, 13 Mar 1997 00:00
34 lines
1776 bytes
In article <3325E8F6.24D9@interglobe.com>, ssanbeg@interglobe.com says...
--> Kristopher wrote:
--> > 
--> > I have successfully setup a INN news site, getting feeds from ISP.
--> > My question is how to purge the /usr/spool/news/junk directory? it is
--> > growing bigger and bigger for 2 weeks now.
--> 
--> There is a compile option to save unwanted groups in junk,
--> or not to.  Apparently, though, you compiled it in.  So,
--> to your expire.ctl file, add this:
--> junk:A:0:0:0
--> 
--> 'man expire' will explain the parameters.

We have junk expiring in 5 days here.  I wrote a script that parses all
the articles in junk and finally presents you with a script of ctlinnd
newgroup commands to add all the unknown newsgroups.  You delete the
lines in there for groups you don't want to add, then run it.

Server is paused, new groups added, server go'd.  Voila.  Since there
aren't *that* many newgroups being added too often, running this once
a week or less is usually sufficient, unless you want to catch all the
flakey alt.* new groups :)

It's not very big - if anyone is interested, I'll post it here.

-- 
Dean Carpenter

dcarpenter@kraft.com
deano@areyes.com

Technical Details
Message-ID: <MPG.d91def92cfc2788989686@news.kraft.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.mbox.zip!not-for-mail
References: <332243AA.505E@idris.com.au> <3325E8F6.24D9@interglobe.com>

Show Full Headers
Complete Article Headers
Message-ID: <MPG.d91def92cfc2788989686@news.kraft.com>
Subject: Re: purging junk directory
Date: Thu, 13 Mar 1997 00:00:00 +0000
From: dcarpenter@kraft.com (Dean Carpenter)
References: <332243AA.505E@idris.com.au> <3325E8F6.24D9@interglobe.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.mbox.zip!not-for-mail
X-Deja-AN: 225201540
Organization: Kraft Foods
Newsgroups: news.software.nntp