🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81174

Cleanfeed (filter_innd.pl) diffs

#81174
From: John F. Morse
Date: Mon, 01 Jun 2009 01:29
52 lines
2198 bytes
Hi, Julien.

Is this Cleanfeed file:

-rw-r--r-- 1 root root 6167 2008-12-14 17:51 filter_innd.pl

which is part of INN 2.4.5 packaged with Debian Lenny, and starting with
a heading:

#
# $Id: filter_innd.pl 7860 2008-06-07 12:46:49Z iulius $
#
# Sample Perl filtering file for the innd hooks.


a replacement (or upgrade) for this file:


-rw-r--r--  1 root root 53106 2009-03-10 16:41 filter_innd.pl

which is (probably) part of old INN 2.4.3 packaged with Debian Sarge,
and starting with a heading:

# vim: set tabstop=4 shiftwidth=4 autoindent smartindent smarttab
syntax=perl:
#
# Copyright 1999 Jeremy Nixon <jeremy@exit109.com>
# Copyright 2001 Marco d'Itri <md@linux.it>


?


Any reason I can't simply rsync the old filter_innd.pl and the
cleanfeed.local files from the 2.4.3 production server to a new 2.4.5
server?

Also, the Lenny distro with INN 2.4.5 doesn't have the cleanfeed.local
file, plus filter_innd.pl has no option to set the following (shown as
in the old filter_innd.pl):

# CHANGE THE BELOW SETTING!
# Directory where cleanfeed.local and the other configuration files live.
# Set this to undef to not use any external file.

$config_dir = '/etc/news/filter';


TIA.

-- 
John
Technical Details
Message-ID: <gvvaud$u6m$1@optima7.xanadu-bbs.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.ams.giganews.com!nntp.giganews.com!goblin1!goblin3!goblin.stu.neva.ru!optima7.xanadu-bbs.net!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <gvvaud$u6m$1@optima7.xanadu-bbs.net>
Subject: Cleanfeed (filter_innd.pl) diffs
Date: Sun, 31 May 2009 20:29:49 -0500
From: "John F. Morse" <xanadu.bbs@example.invalid>
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.ams.giganews.com!nntp.giganews.com!goblin1!goblin3!goblin.stu.neva.ru!optima7.xanadu-bbs.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Xanadu BBS
Lines: 52
Reply-To: dont.bother
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: optima7.xanadu-bbs.net 1243819789 30934 192.168.89.210 (1 Jun 2009
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Mon, 1 Jun 2009 01:29:49 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.21 (X11/20090318)