Article View: news.software.nntp
Article #48532Re: INN & cleanfeed
From: armedlemming
Date: Tue, 26 Sep 2000 00:00
Date: Tue, 26 Sep 2000 00:00
65 lines
2349 bytes
2349 bytes
Sorry all, I found the fix in the archives of this group by none other
than Russ himself (back in February 2000).
I have to change the:
$lines = $hdr{'__BODY__'} =~ tr/\n/\n/;
to be:
$lines = $hdr{'__LINES__'} =~ tr/\n/\n/;
instead. I did it and it worked.
Cool. Is this something that could be incorporated into the cleanfeed
FAQ (which is 'bout 2 years old now, but useful nonetheless) or maybe as
a note for INN 2.3....
just a suggestion,
Chris H.
In article <8qr5to$hk9$1@nnrp1.deja.com>,
armedlemming@yahoo.com wrote:
> Hello all,
>
> I've got my INNd server running now, but the cleanfeed PERL filter is
> erroring out on me. Here's the message from the log:
>
> Sep 26 11:55:08 jupiter innd: Perl function filter_art died:
> Modification of a read-only value attempted at
> /usr/local/news/bin/filter/filter_innd.pl line 572.
> Sep 26 11:55:08 jupiter innd: SERVER perl filtering disabled
>
> So I go into the file and check out line 572 in filter_innd.pl:
> (line 571 included to for reference)
>
> # count the lines in the article
> $lines = $hdr{'__BODY__'} =~ tr/\n/\n/;
>
> I haven't touched the file aside from moving it into place as
> filter_innd.pl from the name of "cleanfeed" that it had before moving
it
> over.
>
> The file (and cleanfeed.conf) is readable by the user news which is
what
> the server is running as.
>
> Any clues?
>
> Cheers!
>
> Chris H.
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>
Sent via Deja.com http://www.deja.com/
Before you buy.
Technical Details
Message-ID:
<8qr9jo$kil$1@nnrp1.deja.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<8qr5to$hk9$1@nnrp1.deja.com>Show Full Headers
Complete Article Headers
Message-ID: <8qr9jo$kil$1@nnrp1.deja.com> Subject: Re: INN & cleanfeed Date: Tue, 26 Sep 2000 00:00:00 +0000 From: armedlemming@yahoo.com References: <8qr5to$hk9$1@nnrp1.deja.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 674478562 X-Http-Proxy: 1.0 case500, 1.0 x53.deja.com:80 (Squid/1.1.22) for client 10.3.1.103, 12.46.129.6 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Tue Sep 26 22:56:58 2000 GMT X-MyDeja-Info: XMYDJUIDarmedlemming Newsgroups: news.software.nntp X-Http-User-Agent: Mozilla/4.75 [en] (Windows NT 5.0; U)