Article View: news.software.nntp
Article #85535Re: X-Trace Header Hashing?
From: Steve Crook
Date: Tue, 04 Jun 2013 19:38
Date: Tue, 04 Jun 2013 19:38
35 lines
2364 bytes
2364 bytes
On Tue, 4 Jun 2013 13:19:25 -0500, Jesse wrote in
Message-Id: <kolb36$kj7$1@nnrp.blueworldhosting.com>:
> On 2013-06-04 09:26:23 +0000, Steve Crook said:
>
>> I'm no Perl expert but there are a couple of examples on the Cleanfeed
>> FAQ page:-
>> http://mixmin.net/cleanfeed/faq.html#hashhost
>
> One of the examples is for servers generating the Injection-Info
> headerโฆ but I didn't think that INN did that yet (thought it was a
> feature added in 2.6.0). Are you using INN 2.6.0 or how do your
> servers add the Injection-Info header?
I'm running 2.6.0. You could use filter_nnrpd.pl to replace
NNTP-Posting-Host with Injection-Info on older versions. I haven't
tested it but I think this would work.
use strict;
our (%hdr, $modify_headers);
sub filter_post {
my $posthost = $hdr{'NNTP-Posting-Host'};
undef $hdr{'NNTP-Posting-Host'};
$hdr{'Injection-Info'} = "news.mixmin.net; posting-host=\"$posthost\"; ".
'mail-complaints-to="abuse@mixmin.net"';
$modify_headers = 1;
return '';
};
--
What shall we use
To fill the empty spaces
Where we used to talk?
Technical Details
Message-ID:
<slrnkqsghh.ceu.steve@snorky.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!border1.nntp.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!.POSTED.2a01:4f8:100:5243::4!not-for-mailReferences:
<koisur$usg$1@nnrp.blueworldhosting.com> <koj52n$i2d$1@matrix.darkstorm.co.uk> <slrnkqrclv.ceu.steve@snorky.mixmin.net> <kolb36$kj7$1@nnrp.blueworldhosting.com>Show Full Headers
Complete Article Headers
Message-ID: <slrnkqsghh.ceu.steve@snorky.mixmin.net> Subject: Re: X-Trace Header Hashing? Date: Tue, 04 Jun 2013 19:38:25 +0000 From: Steve Crook <steve@mixmin.net> References: <koisur$usg$1@nnrp.blueworldhosting.com> <koj52n$i2d$1@matrix.darkstorm.co.uk> <slrnkqrclv.ceu.steve@snorky.mixmin.net> <kolb36$kj7$1@nnrp.blueworldhosting.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.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!.POSTED.2a01:4f8:100:5243::4!not-for-mail Newsgroups: news.software.nntp Organization: Mixmin Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 4 Jun 2013 19:38:25 +0000 (UTC) Injection-Info: news.mixmin.net; posting-host="2a01:4f8:100:5243::4"; logging-data="10445"; mail-complaints-to="abuse@mixmin.net" User-Agent: slrn/pre1.0.2-8 (Linux) Lines: 34 X-Original-Bytes: 2159