🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #84815

Re: INN Perl Filtering on feeds only?

#84815
From: Tim Fardell
Date: Fri, 06 Apr 2012 16:18
32 lines
2261 bytes
On Wed, 4 Apr 2012 15:33:05 +0000 (UTC), Steve Crook <steve@mixmin.net> wrote:

>On Wed, 04 Apr 2012 13:27:16 +0100, Tim Fardell wrote in
>Message-Id: <oefon79nihnf76cqv9r89grd30fjdvhq17@4ax.com>:
>
>> Is it possible to apply perl filtering (i.e. cleanfeed) only to
>> incoming feeds, and not perform any filtering on articles posted
>> locally? 
>
>Not without a small programming mod.
>
>Assuming you have a recent Cleanfeed version:-
>
>Edit your filter_innd.pl file and look for this section:
>
># If all newsgroups are excluded from filtering, bail now
>return '' if $gr{skip};
>
>Change this to:
>return '' if $gr{skip} or $state{localfeed};
>
>In your cleanfeed.local file, check that the function
>local_flag_localfeed is correctly configured to identify locally posted
>articles.

Thanks Steve! 

As it turned out, I didn't need to implement this after all, but I appreciate
your help all the same! 

-- 
Please remove all-your-clothes before replying. 
Technical Details
Message-ID: <oe5un796opof4fsrnbdo3712fi0jc6scia@4ax.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!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!dedekind.zen.co.uk!zen.net.uk!hamilton.zen.co.uk!reader01.nrc01.news.zen.net.uk.POSTED!not-for-mail
References: <oefon79nihnf76cqv9r89grd30fjdvhq17@4ax.com> <slrnjnoqdh.45d.steve@news.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <oe5un796opof4fsrnbdo3712fi0jc6scia@4ax.com>
Subject: Re: INN Perl Filtering on feeds only?
Date: Fri, 06 Apr 2012 17:18:49 +0100
From: Tim Fardell <tim.fardell.all-your-clothes@virgin.net>
References: <oefon79nihnf76cqv9r89grd30fjdvhq17@4ax.com> <slrnjnoqdh.45d.steve@news.mixmin.net>
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!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!dedekind.zen.co.uk!zen.net.uk!hamilton.zen.co.uk!reader01.nrc01.news.zen.net.uk.POSTED!not-for-mail
Newsgroups: news.software.nntp
X-Newsreader: Forte Agent 3.3/32.846
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 32
Organization: Zen Internet
NNTP-Posting-Host: eb27ae79.news.zen.co.uk
X-Trace: DXC=I4L9I9V@S]\ckQh3@6>J2Pa0UP_O8AJo\=dR0\ckLKGPWeZ<[7LZNRVfJ`OYl1c6gZGe\aWc^aheV]4SfDD:ig=[VDo?R[gZol^
X-Complaints-To: abuse@zen.co.uk
X-Original-Bytes: 1971