Article View: news.software.nntp
Article #87397Re: Obsolete Received: header
From: Michael Baeuerle
Date: Sat, 07 May 2016 07:21
Date: Sat, 07 May 2016 07:21
62 lines
3932 bytes
3932 bytes
Julien ÉLIE wrote: > Michael Bäuerle wrote: > > dunno wrote: > > > > > > 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. > > Note that erratum 4468 makes that paragraph unambiguous. > > http://www.rfc-editor.org/errata_search.php?eid=4468 Ah it's new (from 2015-09), I have not noticed it until now. > Section 3.5 should say: > > An injecting agent processes proto-articles as follows: > > [...] > > 2. It MAY modify header fields so that the proto-article conforms > to [RFC5536]. If made, such modifications SHOULD be as > minimal as possible. The usual changes are the removal of > empty header fields and a bit of cleaning in folding or the > syntax used. > > 3. It MUST reject any proto-article that does not have the proper > mandatory header fields for a proto-article, that has Injection- > Info or Xref header fields, that has a Path header field > containing the "POSTED" <diag-keyword>, or that is not > syntactically valid as defined by [RFC5536]. > > Rationale: most of server software has been removing empty header > fields and made syntax cleaning for ages. Some news clients do rely on > that "feature" of removing empty header fields, i.e by putting empty > Followup-To, Summary and Keywords header fields into each article > opened in the editor and not removing them if empty when posting the > article. > > Though RFC 1849 (Son-of-1036) says the posting agent SHOULD delete > empty headers, in practice the relayer (injecting agent) took care of > that when not done by the posting agent. > > This erratum describes a variation from the standard and could be taken > into account in a revision of RFC 5537, if it happens. Thank you for clarification.
Technical Details
Message-ID:
<AABXLZTu+nAAAAt3.A1.flnews@Server4.micha.freeshell.org>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> <AABXLKZsxRwAAAaj.A1.flnews@WStation5.stz-e.de> <ngivtv$ep7$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <AABXLZTu+nAAAAt3.A1.flnews@Server4.micha.freeshell.org> Subject: Re: Obsolete Received: header Date: Sat, 7 May 2016 07:21:45 -0000 From: Michael Baeuerle <michael.baeuerle@gmx.net> 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> <ngivtv$ep7$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 Newsgroups: news.software.nntp Lines: 60 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=fixed Content-Transfer-Encoding: 8bit X-Trace: individual.net 3bA6VRvhkJVcoRWqIPCYzQvEMG0jWi/FWw+VkkHLwUyN12H5EV X-Orig-Path: not-for-mail Cancel-Lock: sha1:XvcIl5Ed/o+BipvUa4UTkXlEkFA= Injection-Date: Sat, 7 May 2016 07:21:45 -0000 User-Agent: flnews/0.14pre24 (for HP-UX) X-Received-Body-CRC: 2272324540 X-Received-Bytes: 3791