🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #73742

Re: Cleanfeed installation

#73742
From: John F. Morse
Date: Sat, 24 Jun 2006 00:06
104 lines
4721 bytes
Jeffrey M. Vinocur wrote:

>In article <mdCmg.50666$mF2.44452@bgtnsc04-news.ops.worldnet.att.net>,
>John F. Morse <xanadu.bbs@invalid.net> wrote:
>
>>For the "cleanfeed.conf" file location, as suggested to be placed 
>>*somewhere* in the first paragraph above, I chose /etc/news where the 
>>INN configuration files were installed for Debian Sarge.
>>    
>>
>
>That's fine.  It really doesn't matter, as long as the cleanfeed
>script itself has been edited to know where to find it.
>  
>


I chose /etc/news and edited the (new) /etc/news/filter/filter_innd.pl 
script to reflect $config_dir = '/etc/news';

I also edited cleanfeed.conf adding: 'active_file' => 
/var/lib/news/active, and commenting out the default 'active_file' => undef,

I hope this was needed.


>>Then the question of installing it *as* "filter_innd.pl" might mean to 
>>rename it? Actually moving it from the gunzip location to the new 
>>location with a new filename?
>>    
>>
>
>Yes.  INN only knows to load whatever file is called
>filter_innd.pl located in the "pathfilter" directory (which, as
>you posted in the table from the FAQ, is probably
>/etc/news/filter in your installation).
>
>Since almost everyone has the standard file locations, their
>pathfilter is (as you can see in the table) .../bin/filter/ --
>that's why the text uses that rather than actually mentioning
>"pathfilter" per se.
>  
>


I can see that now. ;-)


>>Finally, if the cleanfeed.conf file is in the  /etc/news directory, 
>>shouldn't it be like all of the other files there: "root-root" and not 
>>"news"? Maybe /etc/news is not the best location?
>>    
>>
>
>It doesn't matter where you put it, as long as:
>
> - you've told the main filter script (cleanfeed, now named
>   filter_innd.pl) how to find it
>
> - the ownership and permissions are such that INN can read it
>   (so either owned by root.root and readable by others, owned by
>   root.news and readable by group, or owned by news.news)
>


I changed it to root.root and 644.

Thanks so much, Jeff.

It is installed and configured, and "apparently" running:

news@news7:/var/log/news$ ctlinnd mode
Server running
Allowing remote connections
Parameters c 0 i 50 (0) l 1000000 o 1011 t 300 H 2 T 60 X 0 normal specified
Not reserved
Readers follow enabled
Perl filtering enabled
Perl filter stats: Pass: 1108  Reject:   MD5: 0  EMP: 0  MID: 0  SS: 0

Cleanfeed has not rejected any articles yet, and some of them have dirty 
words in the subjects. I see these words in the perl file.

Maybe I need to check the cleanfeed.conf file to make sure something is 
not commented out?

Actually, shouldn't Cleanfeed reject messages after a generic install? 
The man states: "If your server is running a full feed, you should start 
seeing a constant stream of rejections almost immediately."

Well, I'm not running a full feed, and won't, but with 1108 articles 
passing, you'd think there would be some rejects, especially since dirty 
words do appear in the subjects of some messages.

BTW, to get these articles from USENET, I set up the old RumorMill on a 
Mac to pull (suck) certain groups from my ISP. I have the POST 
capability shut off for now. It streams with the INN server. This is 
easier than fighting Suck at the present time, but I'll eventually go 
that route.

Again, thanks for your well-written explanation.

-- 
John
Technical Details
Message-ID: <fm%mg.240921$Fs1.228391@bgtnsc05-news.ops.worldnet.att.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn12feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail
References: <mdCmg.50666$mF2.44452@bgtnsc04-news.ops.worldnet.att.net> <e7gdjq$f5t$1@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <fm%mg.240921$Fs1.228391@bgtnsc05-news.ops.worldnet.att.net>
Subject: Re: Cleanfeed installation
Date: Sat, 24 Jun 2006 00:06:38 GMT
From: "John F. Morse" <xanadu.bbs@invalid.net>
References: <mdCmg.50666$mF2.44452@bgtnsc04-news.ops.worldnet.att.net> <e7gdjq$f5t$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!wn12feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail
Reply-To: xanadu.bbs@invalid.net
Organization: Xanadu BBS
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040514
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: news.software.nntp
In-Reply-To: <e7gdjq$f5t$1@puck.litech.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 104
NNTP-Posting-Host: 853921dd777a0dc1dc7f4736a4f1377d
X-Complaints-To: abuse@worldnet.att.net
X-Trace: bgtnsc05-news.ops.worldnet.att.net 1151107595
NNTP-Posting-Date: Sat, 24 Jun 2006 00:06:35 GMT