🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87402

Re: Obsolete Received: header

#87402
From: dunno
Date: Sun, 08 May 2016 04:50
80 lines
4954 bytes
Michael Baeuerle <michael.baeuerle@stz-e.de> wrote:
> dunno wrote:
>> dunno <dunno@dunno.dunno> wrote:
>>> Russ Allbery <eagle@eyrie.org> wrote:
>>>> dunno <dunno@dunno.dunno> writes:
>>>>> 
>>>>> I'm not sure I understand. RFC 1849 is obsolete, and Received: header is
>>>>> a standard header of mail messages, according to RFC 5322, and
>>>>> supposedly RFC 5536 is built on RFC 5322. Thus, INN does not conform to
>>>>> the current standards.
>>>> 
>>>> No Netnews agent is ever required to accept any article.  It is
>>>> common for injecting, relaying, and serving agents to reject well-
>>>> formed articles for reasons of local policy (such as not wishing to
>>>> carry a particular newsgroup or attempting to filter out unwanted
>>>> articles).  This document specifies how articles are to be treated if
>>>> they are accepted and specifies some cases where they must be
>>>> rejected, but an agent MAY always reject any article for other
>>>> reasons than those stated here.
>>>> 
>>>> There isn't a compliance issue here.  There may be a quality of
>>>> implementation issue.
>>> 
>>> According to your interpretation of this paragraph, we can write server
>>> software which rejects any article and still is RFC compliant. :)
>>> 
>>> Seriously though, according to RFC 5536, news article with Received: header
>>> is valid article, and there is no obvious reason to reject it.
>>> 
>>>> Also, please note the following extremely important paragraph in RFC 5536:
>>>> 
>>>> All header fields in a Netnews article are compliant with [RFC5322];
>>>> this specification, however, is less permissive in what can be
>>>> generated and accepted by agents.  The syntax allowed for Netnews
>>>> article headers is a strict subset of the Internet Message Format
>>>> headers, making all headers compliant with this specification
>>>> inherently compliant with [RFC5322].  Note however that the converse
>>>> is not guaranteed to be true in all cases.
>>>> 
>>>> and see appendix C of that document.  There are a bunch of other reasons
>>>> why a valid email message may not be a valid netnews messages.
>>> 
>>> This particular issue is not one of them.
>> 
>> Here is one more thing I've noticed: empty header bodies are permitted by
>> RFC 5322, but are not allowed by RFC 5536. However, INN does not reject
>> such articles. Instead, it just removes illegal header fields from them,
>> and it's far better than rejection, IMHO.
> 
> RFC5537 [1] specify this in section 3.5 part 6:
> | 
> | [The injecting agent] SHOULD NOT alter, delete, or reorder any
> | existing header field except the Path header field.
> 
> It's only "SHOULD NOT" and not "MUST NOT", so the injecting agent
> is allowed to decide whether correction or rejection ist the better
> choice.
> 
> For empty fields the "delete" option is IMHO the right choice, because
> no relevant information is stripped or modified.

I agree. That's exactly what I meant in the previous message.

> Changing header field bodies is a different operation. Here it is much
> harder to justify why the quoted recommendation is not applied.

I didn't propose to strip Received: headers (even though that's what all
mail2news gateways are  currently doing.) I just mentioned this to
illustrate how similar issue is handled by INN.

> ____________
> [1] <https://tools.ietf.org/html/rfc5537#section-3.5>
> 



-- 
dunno

Technical Details
Message-ID: <967569615.484374564.558182.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
References: <1980019869.484135557.600886.dunno-dunno.dunno@news.mixmin.net> <787344371.484136045.060677.dunno-dunno.dunno@news.mixmin.net> <ngg6lq$c6g$1@news.trigofacile.com> <1995491407.484179298.591919.dunno-dunno.dunno@news.mixmin.net> <87bn4kdjpl.fsf@hope.eyrie.org> <438672968.484210805.674404.dunno-dunno.dunno@news.mixmin.net> <1994836095.484232232.038698.dunno-dunno.dunno@news.mixmin.net> <AABXLKZsxRwAAAaj.A1.flnews@WStation5.stz-e.de>

Show Full Headers
Complete Article Headers
Message-ID: <967569615.484374564.558182.dunno-dunno.dunno@news.mixmin.net>
Subject: Re: Obsolete Received: header
Date: Sun, 08 May 2016 04:50:17 +0000
From: dunno <dunno@dunno.dunno>
References: <1980019869.484135557.600886.dunno-dunno.dunno@news.mixmin.net> <787344371.484136045.060677.dunno-dunno.dunno@news.mixmin.net> <ngg6lq$c6g$1@news.trigofacile.com> <1995491407.484179298.591919.dunno-dunno.dunno@news.mixmin.net> <87bn4kdjpl.fsf@hope.eyrie.org> <438672968.484210805.674404.dunno-dunno.dunno@news.mixmin.net> <1994836095.484232232.038698.dunno-dunno.dunno@news.mixmin.net> <AABXLKZsxRwAAAaj.A1.flnews@WStation5.stz-e.de>
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: dunno
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 8 May 2016 04:50:17 -0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="87f0cb20cdbdbe5862ab07a4255227358a0f9b94";
 logging-data="6914"; mail-complaints-to="abuse@mixmin.net"
User-Agent: NewsTap/5.1.8 (iPhone/iPod Touch)
Cancel-Lock: sha1:4N3O/U7Jjuy4CQ1KtK7jsH9zeag=
X-Face: +Y@4$e3-8y^:[5%r>Y6xxT0FVGRQ%3F"zg9+i6@7@t0}rtq3S8)2":;YgvZ5~2cI}rUZ$X$ sYT%EO6}l1DF*"<0$clFtjHZYnH:ZAf3ShT.Ovq
X-Received-Body-CRC: 1310997062
X-Received-Bytes: 4827