🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #74537

ctlinnd: Perl filter not defined

#74537
From: Antonio Martos
Date: Sun, 03 Dec 2006 11:06
41 lines
2774 bytes
I'm quite confused with this message i get from Debian Inn 2.4.2-3
installation when i try to enable perl filtering for postings from my
own server (I guess it is in filter_nnrpd.pl, right?)

"ctlinnd perl y" returns: Perl filter not defined
after that: "ctlinnd mode" returns: Perl filtering disabled

This means I have perl support, but does not run because sintax errors?

I tried to substitute default filter_nnrpd.pl for something simpler
like:

# Sample filter
sub filter_post {
    my $rval = "Error" ;
    return $rval;
}

To reject all posting messages for testing, but it is still ignored.
Also tried to stop-start innd2 and to reload all.

news:/etc/news/filter# ctlinnd reload filter_nnrpd.pl ""
ctlinnd: Unknown reload type

Aditional checks:

news:/etc/news/filter# more /etc/news/*|grep pathfilter
pathfilter:             /etc/news/filter
news:/etc/news/filter# ls -la /etc/news/filter
-rw-r--r--  1 news news 6124 2004-12-22 05:21 filter_innd.pl
-rw-r--r--  1 news news 2268 2006-12-03 11:40 filter_nnrpd.pl
-rw-r--r--  1 news news 4177 2006-08-01 22:43 nnrpd_access.pl
-rw-r--r--  1 news news 2653 2006-08-01 22:43 nnrpd_auth.pl
-rw-r--r--  1 news news 1336 2006-08-01 22:43 startup_innd.pl
news:/etc/news/filter# perl -cw filter_nnrpd.pl
filter_nnrpd.pl syntax OK
news:/etc/news/filter# perl -cw filter_innd.pl
filter_innd.pl syntax OK

I'm confused. What else might I try?
Technical Details
Message-ID: <1165144008.349372.246550@16g2000cwy.googlegroups.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!198.186.194.247.MISMATCH!news-out.readnews.com!news-xxxfer.readnews.com!postnews.google.com!16g2000cwy.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <1165144008.349372.246550@16g2000cwy.googlegroups.com>
Subject: ctlinnd: Perl filter not defined
Date: Sun, 03 Dec 2006 11:06:48 +0000
From: "Antonio Martos" <martos.antonio@gmail.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!198.186.194.247.MISMATCH!news-out.readnews.com!news-xxxfer.readnews.com!postnews.google.com!16g2000cwy.googlegroups.com!not-for-mail
Newsgroups: news.software.nntp
Organization: http://groups.google.com
Lines: 41
NNTP-Posting-Host: 85.152.45.130
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1165144014 24412 127.0.0.1 (3 Dec 2006 11:06:54
 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 3 Dec 2006 11:06:54 +0000 (UTC)
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES;
 Firefox/1.5.0.8,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: 16g2000cwy.googlegroups.com; posting-host=85.152.45.130;
 posting-account=Fdt5Jg0AAADtYoqQe3vuwNOJ7_muS8nt