Thread View: news.software.nntp
3 messages
3 total messages
Started by John F. Morse
Mon, 01 Jun 2009 01:29
Cleanfeed (filter_innd.pl) diffs
Author: John F. Morse
Date: Mon, 01 Jun 2009 01:29
Date: Mon, 01 Jun 2009 01:29
52 lines
2198 bytes
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
Re: Cleanfeed (filter_innd.pl) diffs
Author: Julien ÉLIE
Date: Mon, 01 Jun 2009 07:49
Date: Mon, 01 Jun 2009 07:49
61 lines
3163 bytes
3163 bytes
Hi John,
> 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>
No, it's not a replacement. The first one, shipped with INN, is a
default filter which almost does nothing. It is just here to show
how filtering can be done.
The second one is Cleanfeed.
As far as I know, Cleanfeed was not packaged with Debian INN 2.4.3
and I assume you installed it afterwards!
> 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?
You can rsync filter_innd.pl, cleanfeed.local and a few other files
like bad_hosts.
Anyway, while you're at it, I suggest that you upgrade to a more
powerful and recent version of Cleanfeed. This one by Steve:
http://www.mixmin.net/cleanfeed/
# vim: set tabstop=4 shiftwidth=4 expandtab syntax=perl:
#
# Copyright 1999 Jeremy Nixon <jeremy@exit109.com>
# Copyright 2001 Marco d'Itri <md@linux.it>
#
# Modified by Steve Crook <steve@mixmin.net>
# Redistributed in accordance with the terms of the Artistic license.
# $Id: cleanfeed 194 2009-03-27 09:16:07Z cleanfeed $
--
Julien ÉLIE
« Dès que le silence se fait, les gens le meublent. » (Raymond Devos)
Re: Cleanfeed (filter_innd.pl) diffs
Author: John F. Morse
Date: Mon, 01 Jun 2009 18:16
Date: Mon, 01 Jun 2009 18:16
70 lines
3109 bytes
3109 bytes
Julien ÉLIE wrote: > Hi John, > >> 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> > > No, it's not a replacement. The first one, shipped with INN, is a > default filter which almost does nothing. It is just here to show > how filtering can be done. > > The second one is Cleanfeed. > As far as I know, Cleanfeed was not packaged with Debian INN 2.4.3 > and I assume you installed it afterwards! You are likely correct, Julien. That is why I added "(probably)" in parentheses above. ;-) >> 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? > > You can rsync filter_innd.pl, cleanfeed.local and a few other files > like bad_hosts. > Anyway, while you're at it, I suggest that you upgrade to a more > powerful and recent version of Cleanfeed. This one by Steve: > > http://www.mixmin.net/cleanfeed/ > > # vim: set tabstop=4 shiftwidth=4 expandtab syntax=perl: > # > # Copyright 1999 Jeremy Nixon <jeremy@exit109.com> > # Copyright 2001 Marco d'Itri <md@linux.it> > # > # Modified by Steve Crook <steve@mixmin.net> > # Redistributed in accordance with the terms of the Artistic license. > # $Id: cleanfeed 194 2009-03-27 09:16:07Z cleanfeed $ > I'll do it. Thanks. -- John
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads