🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87427

Re: Multiple occurences of header fields

#87427
From: Julien ÉLIE
Date: Mon, 09 May 2016 19:46
67 lines
3273 bytes
dunno,

> That is my understanding of RFC: unless multiple occurrences of header
> field are explicitly prohibited, they are allowed and therefore should be
> preserved in injected article. However, it seems that nnrpd is stripping
> every occurrence of header field except the last one. Am I missing
> something?

Please give an example, and the version of INN you are using.

Just tested with INN 2.6.0, and it works as expected:

POST
340 Ok, recommended message-ID <ngqp7i$59g$1@news.trigofacile.com>
From: =?ISO-8859-15?Q?Julien_=C9LIE?= <iulius@nom-de-mon-site.com.invalid>
Newsgroups: fr.test
Subject: Duplications
Date: Mon, 09 May 2016 21:19:01 +0200 (CEST)
Comments: Comment 1
X-Test-Multiple: 1
Comments: Comment 2
X-Test-Multiple: 2
X-Test-Multiple: And 3

plop
..
240 Article received <ngqp7i$59g$1@news.trigofacile.com>
ARTICLE <ngqp7i$59g$1@news.trigofacile.com>
220 0 <ngqp7i$59g$1@news.trigofacile.com> article
Path: news.trigofacile.com!.POSTED.news.trigofacile.com!not-for-mail
From: =?ISO-8859-15?Q?Julien_=C9LIE?= <iulius@nom-de-mon-site.com.invalid>
Newsgroups: fr.test
Subject: Duplications
Date: Mon, 09 May 2016 21:19:01 +0200 (CEST)
Organization: Groupes francophones par TrigoFACILE
Message-ID: <ngqp7i$59g$1@news.trigofacile.com>
Injection-Date: Mon, 9 May 2016 19:42:48 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="<localhost>"; posting-host="news.trigofacile.com:2001:41d0:1:6d44::1";
	logging-data="5424"; mail-complaints-to="abuse@trigofacile.com"
Comments: Comment 1
X-Test-Multiple: 1
Comments: Comment 2
X-Test-Multiple: 2
X-Test-Multiple: And 3
Xref: news.trigofacile.com fr.test:36877

plop
..



nnrpd did not strip anything.



> Is there any specific reason for that? I can tell that innd
> allows multiple occurrences because I see multiple X-Abuse-And-DMCA-Info:
> headers in articles propagated from Giganews.

And so does nnrpd.

-- 
Julien ÉLIE

« Rien ne serpe de courir ! » (Druides gaulois)

Technical Details
Message-ID: <ngqpe2$5cc$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.(19219).mbox.7z!not-for-mail
References: <2116899503.484444288.248931.dunno-dunno.dunno@news.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <ngqpe2$5cc$1@news.trigofacile.com>
Subject: Re: Multiple occurences of header fields
Date: Mon, 9 May 2016 21:46:10 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <2116899503.484444288.248931.dunno-dunno.dunno@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.(19219).mbox.7z!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 9 May 2016 19:46:10 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2a01cb0801180400784d5b37999654c1.ipv6.abo.wanadoo.fr:2a01:cb08:118:400:784d:5b37:9996:54c1";
 logging-data="5516"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0)
 Gecko/20100101 Thunderbird/45.0
In-Reply-To: <2116899503.484444288.248931.dunno-dunno.dunno@news.mixmin.net>
X-Received-Body-CRC: 3516425907
X-Received-Bytes: 3257