Article View: news.software.nntp
Article #83671Re: Undefined $user in filter_nnrpd.pl?
From: Julien ÉLIE
Date: Sun, 14 Nov 2010 23:07
Date: Sun, 14 Nov 2010 23:07
32 lines
2430 bytes
2430 bytes
Hi Michael,
>>> But, whenever I access the variable $user in filter_nnrpd.pl's filter_post
>>> subroutine, I'll end up in:
>>> ,----
>>>| nnrpd[123]: Perl function filter_post died: Undefined subroutine
>>>&main::filter_post called.
>>>| nnrpd[123]: SERVER perl filtering disabled
>>> `----
>
> A simple ...
> INN::syslog('notice',$user);
> ... at the end of filter_post will trigger that error message.
I'm sorry to tell you that this very line (placed just before "return $rval;")
works fine with my CURRENT nnrpd...
No changes done on nnrpd since August, that could have had an impact.
I've just seen in my logs:
Nov 15 00:01:26 news nnrpd[4029]: filter: julien
Perl 5.8.8 at my end (Debian Etch).
--
Julien ÉLIE
« -- Ils transportent une arme secrète dans un tonneau !
-- La cervoise tiède !!!
-- Non, ça c'est une arme connue. » (Astérix)
Technical Details
Message-ID:
<ibpq49$4fs$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.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!news.trigofacile.com!.POSTED.aaubervilliers-151-1-51-137.w83-114.abo.wanadoo.fr!not-for-mailReferences:
<ibosfc$24e$1@de-l.enfer-du-nord.net> <nsn.1011141928.3607@thorondor.akallabeth.de> <ibph2a$1ejh$2@de-l.enfer-du-nord.net>Show Full Headers
Complete Article Headers
Message-ID: <ibpq49$4fs$1@news.trigofacile.com> Subject: Re: Undefined $user in filter_nnrpd.pl? Date: Mon, 15 Nov 2010 00:07:54 +0100 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <ibosfc$24e$1@de-l.enfer-du-nord.net> <nsn.1011141928.3607@thorondor.akallabeth.de> <ibph2a$1ejh$2@de-l.enfer-du-nord.net> 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.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!news.trigofacile.com!.POSTED.aaubervilliers-151-1-51-137.w83-114.abo.wanadoo.fr!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 32 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 8bit Injection-Date: Sun, 14 Nov 2010 23:07:54 +0000 (UTC) Injection-Info: news.trigofacile.com; posting-host="aaubervilliers-151-1-51-137.w83-114.abo.wanadoo.fr:83.114.129.137"; logging-data="4604"; mail-complaints-to="abuse@trigofacile.com" In-Reply-To: <ibph2a$1ejh$2@de-l.enfer-du-nord.net> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6002.18197 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18263 X-Original-Bytes: 2201