Article View: news.software.nntp
Article #73731Cleanfeed installation
From: John F. Morse
Date: Thu, 22 Jun 2006 19:30
Date: Thu, 22 Jun 2006 19:30
72 lines
4603 bytes
4603 bytes
After four days and nights of study, I am unable to determine the proper
file locations for a Cleanfeed installation.
The supplied "Full documentation, including configuration and
installation, is in the file 'cleanfeed.man'" just doesn't inspire me.
For all versions, place the cleanfeed.conf configuration file
somewhere, then edit the Cleanfeed source file and change the
$config_dir option at the top to point to the directory where
the config file lives.
INN Install the filter file (called cleanfeed) as filter_innd.pl,
and cleanfeed.conf, in the location you specified in
config.data (INN 1.7.2 and earlier) or when configuring INN
2.x (usually the bin/filter directory under the installation
root). Make sure both files are readable by the news user.
Once in place, the filter is loaded with the command ctlinnd
reload filter.perl meow. Filtering can be turned on with
ctlinnd perl y and turned off with ctlinnd perl n.
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.
What is the "Cleanfeed source" file? All I can guess is it is the file
"cleanfeed" a perl script text file.
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?
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?
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.
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 appears that I have only two files to worry about: cleanfeed.conf and
cleanfeed perl script. Where should they go, and to what, if anything,
should the perl file be renamed?
Per Russ's INN 2.x FAQ:
DEFAULT DEBIAN
pathnews: /usr/local/news /usr/lib/news
pathbin: /usr/local/news/bin /usr/lib/news/bin
pathcontrol: /usr/local/news/bin/control /usr/lib/news/bin/control
pathdb: /usr/local/news/db /var/lib/news
pathetc: /usr/local/news/etc /etc/news
pathfilter: /usr/local/news/bin/filter /etc/news/filter
pathhttp: /usr/local/news/log /var/log/news
pathlog: /usr/local/news/log /var/log/news
pathrun: /usr/local/news/run /var/run/news
pathtmp: /usr/local/news/tmp /var/spool/news/incoming/tmp
pathspool: /usr/local/news/spool /var/spool/news
patharchive: /usr/local/news/spool/archive /var/spool/news/archive
patharticles: /usr/local/news/spool/articles /var/spool/news/articles
pathincoming: /usr/local/news/spool/incoming /var/spool/news/incoming
pathoutgoing: /usr/local/news/spool/outgoing /var/spool/news/outgoing
pathoverview: /usr/local/news/spool/overview /var/spool/news/overview
TIA.
--
John
Technical Details
Message-ID:
<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!wn13feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <mdCmg.50666$mF2.44452@bgtnsc04-news.ops.worldnet.att.net> Subject: Cleanfeed installation Date: Thu, 22 Jun 2006 19:30:26 GMT From: "John F. Morse" <xanadu.bbs@invalid.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!wn13feed!worldnet.att.net!bgtnsc04-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 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Lines: 72 NNTP-Posting-Host: 5876b6bd0a124d8bfc3ef4c2970b400f X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1151004626 NNTP-Posting-Date: Thu, 22 Jun 2006 19:30:26 GMT