πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #79030

Re: IP number

#79030
From: kjell
Date: Mon, 12 May 2008 12:24
27 lines
1604 bytes
Det hΓ€nde Steve formulerade :
> On Sat, 10 May 2008 14:12:10 +0200, kjell wrote in
> Message-Id: <g043er$vre$1@aioe.org>:

>> How can I get rid of ip number from X-Trace and NNTP-Posting-Host?
>> Using Inn 2.4.4

> Here's how I do it in filter_nnrpd.pl:-

> #!/usr/bin/perl -wc

> use strict;
> our (%hdr, $modify_headers, $user);

> sub filter_post {
>     my @delete_headers = qw(NNTP-Posting-Host X-Trace);
>     $hdr{$_} = undef foreach @delete_headers;
>     $modify_headers = 1;
>     return '';
> }

Thanks! :D

-- 
mvh/Kjell

Technical Details
Message-ID: <g09ct3$ost$1@ubuntu1.ipbo.se>
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!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!just2write2.myftp.org!not-for-mail
References: <g043er$vre$1@aioe.org> <g091tj$b4d$1@news.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <g09ct3$ost$1@ubuntu1.ipbo.se>
Subject: Re: IP number
Date: Mon, 12 May 2008 14:24:03 +0200
From: "kjell" <petter@uuyuy.se>
References: <g043er$vre$1@aioe.org> <g091tj$b4d$1@news.mixmin.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!just2write2.myftp.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Videokopiering
Lines: 27
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"; format=flowed
Content-Transfer-Encoding: 8bit
X-Complaints-To: hd@ipbo.se
NNTP-Posting-Date: Mon, 12 May 2008 12:24:03 +0000 (UTC)
X-Antivirus-Status: Clean
X-Newsreader: MesNews/1.06.00.00-sw
X-Antivirus: avast! (VPS 080511-0, 2008-05-11), Outbound message