🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #74526

Re: cleanfeed.local for corporate newsserver?

#74526
From: Schroeder, AJ
Date: Fri, 17 Nov 2006 17:23
41 lines
2507 bytes
Jeffrey M. Vinocur wrote:
> In article <ejfdji$872$1@sxnews1.qg.com>, Schroeder, AJ <aj1@qg.com>
> wrote:
>>
>> It is filtering spam, but I would like it to filter messages that
>> contain profanities, is this within the scope of cleanfeed?
>
> Probably, at least inasmuch as you can set forth rules that
> describe the messages you want filtered.
>
>
>> If so, would I bring my
>> server to its knees by scanning each and every message that comes in?
>
> Depends how much traffic is coming through your server, I
> suppose.
>

There is enough traffic, but it's not like I am giganews.com or anything. :)

>
>> Also, if cleanfeed can do what I am asking, does anyone have any
>> examples?
>
> Well, if you look through your cleanfeed.local for the
> local_filter_last function, and see how $hdr{__BODY__} is used
> there, you should get a little bit of an idea.  You simply match
> $hdr{__BODY__} against whatever patterns you want, and return
> reject(...).

I went through and put a filter in there for some key words, it didn't seem 
too hard. I am just not familiar with inner workings of cleanfeed.

That filter has increased the CPU usage of the box to about 50-60 percent on 
one CPU, there are 3 others that are left for the system.

Thank you for the help,

AJ Schroeder 

Technical Details
Message-ID: <ejkr68$o6n$1@sxnews1.qg.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!tiscali!newsfeed1.ip.tiscali.net!proxad.net!news.in2p3.fr!in2p3.fr!news.ecp.fr!newspe.com!sxnews1.qg.com!not-for-mail
References: <ejfdji$872$1@sxnews1.qg.com> <ejgltl$rkp$1@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <ejkr68$o6n$1@sxnews1.qg.com>
Subject: Re: cleanfeed.local for corporate newsserver?
Date: Fri, 17 Nov 2006 11:23:20 -0600
From: "Schroeder, AJ" <aj1@qg.com>
References: <ejfdji$872$1@sxnews1.qg.com> <ejgltl$rkp$1@puck.litech.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!tiscali!newsfeed1.ip.tiscali.net!proxad.net!news.in2p3.fr!in2p3.fr!news.ecp.fr!newspe.com!sxnews1.qg.com!not-for-mail
Newsgroups: news.software.nntp
Organization: Quad/Graphics, Inc.
Lines: 41
NNTP-Posting-Host: 161.49.10.231
X-Trace: sxnews1.qg.com 1163784201 24791 161.49.10.231 (17 Nov 2006 17:23:20
 GMT)
X-Complaints-To: usenet@sxnews1.qg.com
NNTP-Posting-Date: Fri, 17 Nov 2006 17:23:20 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962