Article View: news.software.nntp
Article #87393Re: Obsolete Received: header
From: Michael Baeuerle
Date: Fri, 06 May 2016 14:13
Date: Fri, 06 May 2016 14:13
67 lines
4397 bytes
4397 bytes
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. Changing header field bodies is a different operation. Here it is much harder to justify why the quoted recommendation is not applied. ____________ [1] <https://tools.ietf.org/html/rfc5537#section-3.5>
Technical Details
Message-ID:
<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-mailReferences:
<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>Show Full Headers
Complete Article Headers
Message-ID: <AABXLKZsxRwAAAaj.A1.flnews@WStation5.stz-e.de> Subject: Re: Obsolete Received: header Date: Fri, 06 May 2016 14:13:00 +0000 From: Michael Baeuerle <michael.baeuerle@stz-e.de> 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> 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 Lines: 65 Reply-To: Michael Baeuerle <michael.baeuerle@gmx.net> Mime-Version: 1.0 X-Trace: individual.net 5bnOXuYf3B5KrEijRCIcWQ1dg8uxiuh1pT0GF/Zahe0Ak6iMHL X-Orig-Path: not-for-mail Cancel-Lock: sha1:klnlWeh8tksq1sEhRc48oNPYRZk= sha1:rO3cjb2XyfVLk4Mqg1tqCkiGYaw= Injection-Date: Fri, 6 May 2016 14:13:00 -0000 User-Agent: flnews/0.14pre29 (for NetBSD) X-Received-Body-CRC: 4213175701 X-Received-Bytes: 4262