🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87395

Re: Obsolete Received: header

#87395
From: Julien ÉLIE
Date: Fri, 06 May 2016 20:47
61 lines
4057 bytes
Hi Michael,

>> 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

   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.

-- 
Julien ÉLIE

« – Les sangliers apprécient mieux que toi ma musique !
   – C'est normal, tu chantes comme un cochon !!! » (Astérix)

Technical Details
Message-ID: <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
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: <ngivtv$ep7$1@news.trigofacile.com>
Subject: Re: Obsolete Received: header
Date: Fri, 6 May 2016 22:47:59 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
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: TrigoFACILE -- http://www.trigofacile.com/
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 6 May 2016 20:47:59 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2a01cb0801180400b9985540df69abe0.ipv6.abo.wanadoo.fr:2a01:cb08:118:400:b998:5540:df69:abe0";
 logging-data="15143"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0)
 Gecko/20100101 Thunderbird/38.7.2
In-Reply-To: <AABXLKZsxRwAAAaj.A1.flnews@WStation5.stz-e.de>
X-Received-Body-CRC: 1048385114
X-Received-Bytes: 4085