Article View: news.software.nntp
Article #87394Re: Obsolete Received: header
From: Adam H. Kerman
Date: Fri, 06 May 2016 18:40
Date: Fri, 06 May 2016 18:40
88 lines
5200 bytes
5200 bytes
Michael Baeuerle <michael.baeuerle@gmx.net> 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. The header is being added in injection or possibly relay. A Received header wouldn't be present in the proto-article. That's an improper interpretation of SHOULD NOT. https://tools.ietf.org/html/rfc2119#section-4 SHOULD NOT This phrase, or the phrase "NOT RECOMMENDED" mean that there may exist valid reasons in particular circumstances when the particular behavior is acceptable or even useful, but the full implications should be understood and the case carefully weighed before implementing any behavior described with this label. My vote is for ignore the header or reject. I don't think any particular relay agent should be concerned as to whether the article might be rejected by a peer. This leads me to ask: Is a gateway required to strip any Mail-specific headers? >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:
<ngiofr$fbr$1@news.albasani.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-mailReferences:
<1980019869.484135557.600886.dunno-dunno.dunno@news.mixmin.net> <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: <ngiofr$fbr$1@news.albasani.net> Subject: Re: Obsolete Received: header Date: Fri, 06 May 2016 18:40:59 +0000 From: "Adam H. Kerman" <ahk@chinet.com> References: <1980019869.484135557.600886.dunno-dunno.dunno@news.mixmin.net> <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: albasani.net Lines: 86 X-Trace: news.albasani.net rpaQ5LaZEvxOHqETdNZxEuXsEctbii0cRxPYlR64PZ20r2IBP+yzEgyhzMa3yFvWZBS6Dlc3X95yUVxSwX702NH0uoeNdSYOm+Qj8gSXlo3FxO/GlXNEzqbP1LJ8B+Dz NNTP-Posting-Date: Fri, 6 May 2016 18:40:59 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="eUila6oDXocotDsxoZYPEN75hoDhUWUNBlWNGw2cMuvM8dGYoUrh34x2dDBykdtXJPrclyFO6i10tH5OnvQK1aqnZhIdSem9GGoevDpNUlDBWAtZuzhRhWYB8Esoey5y"; mail-complaints-to="abuse@albasani.net" X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Cancel-Lock: sha1:Wj3I2GPJHc5nFnWFb7OVLmO67YI= X-Received-Body-CRC: 964232123 X-Received-Bytes: 5154