🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #73733

Re: Cleanfeed installation

#73733
From: Jeffrey M. Vinocur
Date: Fri, 23 Jun 2006 09:51
71 lines
3712 bytes
In article <mdCmg.50666$mF2.44452@bgtnsc04-news.ops.worldnet.att.net>,
John F. Morse <xanadu.bbs@invalid.net> wrote:
>After four days and nights of study, I am unable to determine the proper 
>file locations for a Cleanfeed installation.

This is confusing, because Cleanfeed is designed to work with
multiple server packages that have different requirements.


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


>What is the "Cleanfeed source" file? All I can guess is it is the file 
>"cleanfeed" a perl script text file.

Correct.


>The second paragraph is very confusing. What does it mean by "install 
>the filter file"? Does this actually mean to *move* the file "cleanfeed" 
>the perl script text file, from the directory in which it was gunzipped?

Yes.  Or you could symlink, I believe.


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


>The second paragraph also includes *installing* "cleanfeed.conf" once 
>*again* but now in the "bin/filter" directory, and "under the 
>installation root" whatever that means.

It's the main script that needs to be in the pathfilter
directory.  You can put the config stuff wherever you like, as
long as you edit the main script appropriately.


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


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <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!newsfeed-east.nntpserver.com!nntpserver.com!statler.nntpserver.com!news.glorb.com!news.litech.org!not-for-mail
References: <mdCmg.50666$mF2.44452@bgtnsc04-news.ops.worldnet.att.net>

Show Full Headers
Complete Article Headers
Message-ID: <e7gdjq$f5t$1@puck.litech.org>
Subject: Re: Cleanfeed installation
Date: Fri, 23 Jun 2006 09:51:54 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <mdCmg.50666$mF2.44452@bgtnsc04-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!newsfeed-east.nntpserver.com!nntpserver.com!statler.nntpserver.com!news.glorb.com!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 71
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1151056314 15549 66.218.0.75 (23 Jun 2006 09:51:54
 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Fri, 23 Jun 2006 09:51:54 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)