🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80868

Re: filter_nnrpd.pl (maybe a bug)

#80868
From: Kelb tal-Fenek
Date: Mon, 04 May 2009 07:47
21 lines
1146 bytes
Aioe wrote:
> Aioe wrote:
>
>> 1. With INN 2.5 and perl 5.10.0, a strange thing happens:
>
> with the following filter_nnrpd.pl:
>
> sub filter_post()
> {
>         $modify_headers = 1;
>         delete $hdr{'X-Trace'};
>         return "";
> }
>
> this is the result (nnrpd doesn't cancel X-Trace (and only X-Trace)):

Have you tried: 
 undef $hdr{'X-Trace'};
or
 $hdr{'X-Trace'} = "";
Technical Details
Message-ID: <gtm6i9$eiq$1@tioat.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.ams.giganews.com!nntp.giganews.com!goblin3!goblin.stu.neva.ru!tioat.net!not-for-mail
References: <gtm4q0$qtg$1@aioe.org> <gtm52j$r2k$1@aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <gtm6i9$eiq$1@tioat.net>
Subject: Re: filter_nnrpd.pl (maybe a bug)
Date: Mon, 04 May 2009 07:47:21 +0000
From: Kelb tal-Fenek
References: <gtm4q0$qtg$1@aioe.org> <gtm52j$r2k$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!goblin3!goblin.stu.neva.ru!tioat.net!not-for-mail
Newsgroups: news.software.nntp
Lines: 21
NNTP-Posting-Host: d86e2269b770203a4176bd566134779b.tioat.net
X-Complaints-To: news <AT> tioat <DOT> net
NNTP-Posting-Date: Mon, 4 May 2009 07:47:21 +0000 (UTC)