🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #74525

Re: cleanfeed.local for corporate newsserver?

#74525
From: Jeffrey M. Vinocur
Date: Thu, 16 Nov 2006 03:28
28 lines
1911 bytes
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.


>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(...).


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <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!wn13feed!worldnet.att.net!199.218.7.141!news.glorb.com!news.litech.org!not-for-mail
References: <ejfdji$872$1@sxnews1.qg.com>

Show Full Headers
Complete Article Headers
Message-ID: <ejgltl$rkp$1@puck.litech.org>
Subject: Re: cleanfeed.local for corporate newsserver?
Date: Thu, 16 Nov 2006 03:28:53 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <ejfdji$872$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!wn13feed!worldnet.att.net!199.218.7.141!news.glorb.com!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 28
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1163647733 28313 66.218.0.75 (16 Nov 2006 03:28:53
 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Thu, 16 Nov 2006 03:28:53 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)