🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81643

Re: Hiding the X-Trace Header (was: Re: INN 2.x FAQ)

#81643
From: Gab
Date: Wed, 22 Jul 2009 05:44
24 lines
2022 bytes
<4a66a1bb$0$31333$9b4e6d93@newsspool4.arcor-online.net> wrote:

> Hi!
> 
> Russ Allbery schrieb:
> 
>> There is no built-in support for suppressing generation of the X-Trace
>> header.  You can, however, remove it from inside a Perl posting filter.
>> Try using a posting filter like this:
>> 
>>     sub filter_post {
>>         $modify_headers = 1;
>>         delete $hdr{'X-Trace'};
>>         return '';
>>     }
> 
> How do I have to apply this filter? Which files I have to edit? I'm
> using INN 2.4.5.

That's for the /etc/news/filter/filter.nnrpd.pl .

-- 
The truth that makes men free is for the most part
the truth which men prefer not to hear.
Technical Details
Message-ID: <h46909$t2p$1@news.gabrix.ath.cx>
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!newsfeed.straub-nv.de!news.mb-net.net!open-news-network.org!news.gabrix.ath.cx!Noauth!not-for-mail
References: <FAQ-faq-1248159661$8483@windlord.stanford.edu> <4a66a1bb$0$31333$9b4e6d93@newsspool4.arcor-online.net>

Show Full Headers
Complete Article Headers
Message-ID: <h46909$t2p$1@news.gabrix.ath.cx>
Subject: Re: Hiding the X-Trace Header (was: Re: INN 2.x FAQ)
Date: Wed, 22 Jul 2009 07:44:41 +0200
From: Gab <send-mail-to-gpg-key80231A90@domain.invalid>
References: <FAQ-faq-1248159661$8483@windlord.stanford.edu> <4a66a1bb$0$31333$9b4e6d93@newsspool4.arcor-online.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!newsfeed.straub-nv.de!news.mb-net.net!open-news-network.org!news.gabrix.ath.cx!Noauth!not-for-mail
Newsgroups: news.software.nntp
Organization: Noauth
Lines: 24
Reply-To: send-mail-to-gpg-key80231A90@domain.invalid
NNTP-Posting-Host: 4WLbxRv0KEbIPJtu6Elp3nMKV78
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
X-Complaints-To: not-for-mail@localhost
NNTP-Posting-Date: Wed, 22 Jul 2009 05:44:41 +0000 (UTC)
X-No-Archive: Yes
X-Notice: Filtered by Noauth postfilter v. 6.6.6
X-Abuse: noauth[AT]autistici.org
Cancel-Lock: sha1:RoFW5CetgRcOqXIm+e7LmRMtvuU=
User-Agent: KNode/0.10.9
X-PGP-fingerprint: 54AC C632 B35E FB9B 6D9F 108D DBE6 5425 8023 1A90
X-User-Agents: Morbid_News_6.6.6