🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #41892

Re: Help with control.ctl

#41892
From: Ben C. O. Grimm
Date: Wed, 01 Dec 1999 00:00
43 lines
2582 bytes
On 30 Nov 1999 21:24:38 GMT, Jeremy <jeremy@exit109.com> wrote:

> I've currently got this in cleanfeed:
> 
>    'poison_groups' => '^alt\.binaires|sexzilla|^newsmon$'.
> 	(($] >= 5.005) ? '|(?<!free\.)h[i\d]pcr[i\d]m[e\d]'
> 	     : '|^alt\.hipcrime|^us\.hipcrime|^hipcrime|h\dpcr\dme'),
> 
> This means, if we're running Perl 5.005, we allow free.hipcrime* groups
> but no others.  If we're running 5.004, we kludge it a bit, since we
> don't have the (?<! construct available to us.  I'm trying not to
> require 5.005 just yet, but it's only a matter of time. :)
> The above has not been exhaustively tested.

Good. On a related note:

I'm currently running 0.96 on Diablo, but I can't seem to get the
logging process going, whatever I put into the config (well, not the
config really, it's all in the main program). I had to define an
onlyspam feed to see what was actually being purged, but I would like
some logging as well to see realtime rejects. When I send the process
a signal it produces the stats/report/html with no problem, so it's
not entirely broken. 

Current settings:

   'log_directory' => "/usr/news/log",
   'log_name' => "cleanfeed.log",
   'reportfile' => "cleanfeed.report",
   'log_accepts' => 0,
   'max_log_size' => 1000000,
   'rotate_file' => '',
   'keep_old_logs' => 7,
   'statfile' => "cleanfeed.stats",
   'html_statfile' => "cleanfeed.stats.html",

-- 
- Ben C. O. Grimm ----------------- Ben.Grimm@wirehub.net -
- Wirehub! Internet Engineering - http://www.wirehub.net/ -
- Wirehub! Backbone --- http://doema.wirehub.net/wirehub/ -
- Private Ponderings ------- http://libertas.wirehub.net/ -

Technical Details
Message-ID: <eh5a4s0hcsa7814s20g2sjjvohjsdp0fah@thor.wirehub.nl>
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: <8212ka$ag$1@tractor.bonwell.com> <8ud84ssst03c9blgsd5am4ov7cn7t73sah@thor.wirehub.nl> <821fam$m78$1@s00perNooZ.com>

Show Full Headers
Complete Article Headers
Message-ID: <eh5a4s0hcsa7814s20g2sjjvohjsdp0fah@thor.wirehub.nl>
Subject: Re: Help with control.ctl
Date: Wed, 01 Dec 1999 00:00:00 +0000
From: Ben C. O. Grimm <Ben.Grimm@wirehub.net>
References: <8212ka$ag$1@tractor.bonwell.com> <8ud84ssst03c9blgsd5am4ov7cn7t73sah@thor.wirehub.nl> <821fam$m78$1@s00perNooZ.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: 555269917
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@wirehub.net
X-Trace: thor.wirehub.nl 944052152 11051 195.86.25.13 (1 Dec 1999 12:42:32 GMT)
Organization: Wirehub! Internet Engineering
Mime-Version: 1.0
NNTP-Posting-Date: 1 Dec 1999 12:42:32 GMT
Newsgroups: news.software.nntp