πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82286

Re: nnrpd 2.5 and perl filters

#82286
From: Aioe
Date: Wed, 02 Dec 2009 21:58
65 lines
3506 bytes
Julien Γ‰LIE wrote:

> It means that nnrpd couldn't load <pathfilter>/filter_nnrpd.pl

/etc/news/filter# tree -spug
..
|-- [-rw-r--r-- root     root            6167]  filter_innd.pl
|-- [-rw-r--r-- root     root            2259]  filter_nnrpd-backup.pl
|-- [lrwxrwxrwx root     root              24]  filter_nnrpd.pl -> 
postfilter/postfilter.pl
|-- [-rw-r--r-- root     root            4192]  nnrpd_access.pl
|-- [-rw-r--r-- root     root            2692]  nnrpd_auth.pl
|-- [drwxr-xr-x news     news             128]  postfilter
|   |-- [drwxr-xr-x news     news             104]  data
|   |   `-- [-rw-r--r-- news     news           15107]  two-level-tlds
|   |-- [drwxr-xr-x news     news             312]  modules
|   |   |-- [-rw-r--r-- news     news            9829]  access.pm
|   |   |-- [-rw-r--r-- news     news           13217]  banchecks.pm
|   |   |-- [-rw-r--r-- news     news            1402]  custom.pm
|   |   |-- [-rw-r--r-- news     news            5390]  exit.pm
|   |   |-- [-rw-r--r-- news     news            1153]  legal.pm
|   |   |-- [-rw-r--r-- news     news            6194]  mysql.pm
|   |   |-- [-rw-r--r-- news     news            9989]  other.pm
|   |   |-- [-rw-r--r-- news     news           10769]  rbl.pm
|   |   `-- [-rw-r--r-- news     news           23633]  style.pm
|   `-- [-rw-r--r-- news     news           14398]  postfilter.pl
`-- [-rw-r--r-- root     root            1326]  startup_innd.pl

3 directories, 17 files

hard links also don't work

> (either it has syntax errors or the filter_post() function could not be
> found).

# perl -wc filter_nnrpd.pl 
filter_nnrpd.pl syntax OK

# perl -wc modules/access.pm 
modules/access.pm syntax OK
# perl -wc modules/banchecks.pm 
modules/banchecks.pm syntax OK
# perl -wc modules/custom.pm 
modules/custom.pm syntax OK
# perl -wc modules/exit.pm 
modules/exit.pm syntax OK
# perl -wc modules/legal.pm 
modules/legal.pm syntax OK
# perl -wc modules/mysql.pm 
modules/mysql.pm syntax OK
# perl -wc modules/other.pm 
modules/other.pm syntax OK
# perl -wc modules/rbl.pm 
modules/rbl.pm syntax OK
# perl -wc modules/style.pm 
modules/style.pm syntax OK

this doesn't seem a so simple trouble

> 
> Note that INN::Config should be used instead of innshellvars.pl
> (though it should still work with innshellvars.pl...).

now i need to understand why postfilter doesn't work with inn 2.5
Technical Details
Message-ID: <hf6ns5$94v$1@aioe.org>
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!xlned.com!feeder3.xlned.com!news2.euro.net!feeds.phibee-telecom.net!de-l.enfer-du-nord.net!gegeweb.org!aioe.org!not-for-mail
References: <hf56lc$a1f$1@aioe.org> <hf69hq$p25$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <hf6ns5$94v$1@aioe.org>
Subject: Re: nnrpd 2.5 and perl filters
Date: Wed, 02 Dec 2009 22:58:03 +0100
From: Aioe <estasi@aioe.org>
References: <hf56lc$a1f$1@aioe.org> <hf69hq$p25$1@news.trigofacile.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!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder3.xlned.com!news2.euro.net!feeds.phibee-telecom.net!de-l.enfer-du-nord.net!gegeweb.org!aioe.org!not-for-mail
Newsgroups: news.software.nntp
Followup-To: news.software.nntp
Organization: Aioe.org
Lines: 65
NNTP-Posting-Host: tvFadqbWITZ/RdKGkYiybg.user.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-15"
Content-Transfer-Encoding: quoted-printable
X-Complaints-To: abuse@aioe.org
X-Notice: Filtered by postfilter v. 0.8.0
Cancel-Lock: sha1:pqi/vipLxv339l/qh/qApS+q0cU=
User-Agent: KNode/4.3.2