🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82289

Re: nnrpd 2.5 and perl filters

#82289
From: Julien ÉLIE
Date: Thu, 03 Dec 2009 07:02
24 lines
2068 bytes
> I just added in postfilter.pl:
>
>  use lib '/home/news/lib/perl'; use INN::Config;
>
> and removed:
>
>  use INN::syslog;
>
> in postfilter.pl and *.pm using it.

FYI, I also removed the shebang "#!/usr/bin/perl" when I tested
it yesterday.  I don't know if it may cause a problem.  (I did
not test with the line.)

The strange thing is that "perl -wc" complained about INN::syslog
whereas yours did not.  That's why I removed the corresponding
line.  Maybe it is enough to remove that line (not adding INN::Config,
which is the new innshellvars).

-- 
Julien ÉLIE

« Cogitationis poenam nemo patitur. » 
Technical Details
Message-ID: <hf7nq9$6u9$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!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!weretis.net!feeder2.news.weretis.net!news.trigofacile.com!not-for-mail
References: <hf56lc$a1f$1@aioe.org> <hf69hq$p25$1@news.trigofacile.com> <hf6ns5$94v$1@aioe.org> <hf6pma$93d$2@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <hf7nq9$6u9$1@news.trigofacile.com>
Subject: Re: nnrpd 2.5 and perl filters
Date: Thu, 3 Dec 2009 08:02:27 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <hf56lc$a1f$1@aioe.org> <hf69hq$p25$1@news.trigofacile.com> <hf6ns5$94v$1@aioe.org> <hf6pma$93d$2@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!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!weretis.net!feeder2.news.weretis.net!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 24
NNTP-Posting-Host: aaubervilliers-151-1-55-6.w83-112.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-15";
 reply-type=response
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1259823753 7113 83.112.28.6 (3 Dec 2009 07:02:33
 GMT)
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Thu, 3 Dec 2009 07:02:33 +0000 (UTC)
In-Reply-To: <hf6pma$93d$2@news.trigofacile.com>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049
X-Original-Bytes: 1810