Syntax validation of articles by injecting agents

Julien ÉLIE <julien@trigofacile.com> Thu, 31 December 2009 16:38 UTC

Return-Path: <owner-ietf-usefor@mail.imc.org>
X-Original-To: ietfarch-usefor-archive@core3.amsl.com
Delivered-To: ietfarch-usefor-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1B86C3A6A38 for <ietfarch-usefor-archive@core3.amsl.com>; Thu, 31 Dec 2009 08:38:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.671
X-Spam-Level:
X-Spam-Status: No, score=-1.671 tagged_above=-999 required=5 tests=[AWL=1.474, BAYES_50=0.001, HELO_MISMATCH_COM=0.553, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-4, STOX_REPLY_TYPE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nqtmufuETFg5 for <ietfarch-usefor-archive@core3.amsl.com>; Thu, 31 Dec 2009 08:38:49 -0800 (PST)
Received: from balder-227.proper.com (Balder-227.Proper.COM [192.245.12.227]) by core3.amsl.com (Postfix) with ESMTP id 48D213A6A1A for <usefor-archive@ietf.org>; Thu, 31 Dec 2009 08:38:49 -0800 (PST)
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id nBVGVnvA037258 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 31 Dec 2009 09:31:49 -0700 (MST) (envelope-from owner-ietf-usefor@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id nBVGVn9q037257; Thu, 31 Dec 2009 09:31:49 -0700 (MST) (envelope-from owner-ietf-usefor@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-usefor@mail.imc.org using -f
Received: from 2.mail-out.ovh.net (2.mail-out.ovh.net [91.121.26.226]) by balder-227.proper.com (8.14.2/8.14.2) with SMTP id nBVGVlP6037250 for <ietf-usefor@imc.org>; Thu, 31 Dec 2009 09:31:48 -0700 (MST) (envelope-from julien@trigofacile.com)
Received: (qmail 2546 invoked by uid 503); 31 Dec 2009 17:52:42 -0000
Received: from b9.ovh.net (HELO mail176.ha.ovh.net) (213.186.33.59) by 2.mail-out.ovh.net with SMTP; 31 Dec 2009 17:52:42 -0000
Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 31 Dec 2009 16:31:45 -0000
Received: from amontpellier-159-1-53-87.w83-197.abo.wanadoo.fr (HELO Iulius) (julien%trigofacile.com@83.197.12.87) by ns0.ovh.net with SMTP; 31 Dec 2009 16:31:43 -0000
Message-ID: <35100640C1C848E4A3267B6B4FD3B9ED@Iulius>
From: Julien ÉLIE <julien@trigofacile.com>
To: Usefor WG <ietf-usefor@imc.org>
Subject: Syntax validation of articles by injecting agents
Date: Thu, 31 Dec 2009 17:31:46 +0100
Organization: TrigoFACILE -- http://www.trigofacile.com/
MIME-Version: 1.0
Content-Type: text/plain; format="flowed"; charset="ISO-8859-15"; reply-type="original"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Windows Mail 6.0.6002.18005
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18005
X-Ovh-Tracer-Id: 15127309674382884281
X-Ovh-Remote: 83.197.12.87 (amontpellier-159-1-53-87.w83-197.abo.wanadoo.fr)
X-Ovh-Local: 213.186.33.20 (ns0.ovh.net)
X-Spam-Check: DONE|U 0.5/N
Sender: owner-ietf-usefor@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-usefor/mail-archive/>
List-Unsubscribe: <mailto:ietf-usefor-request@imc.org?body=unsubscribe>
List-ID: <ietf-usefor.imc.org>

Hi,

RFC 5537 mentions that an injecting agent MUST reject any proto-article
that is not syntactically valid as defined by RFC 5536.

What is the best way to do that then?
Is it safe to implement that requirement?  RFC 5536 is said to
"reflect current practice", but if we enforce that MUST, I believe
it will break lots of news readers.

NN for instance does not generate MIME-Version: header fields
although "user agents MUST meet the definition of MIME conformance"
("a mail user agent that is MIME-conformant MUST always generate
a "MIME-Version: 1.0" header field in any message it creates").
I believe this sentence applies to news user agents too, otherwise
a reference to MIME is useless.


And what if a news reader generates an incorrect User-Agent: header
field?  or if it always adds a tail-entry which is not a path-nodot
in Path:?  All its posts will be rejected by a RFC-compliant injecting
agent...
It it the intention?

I quite understand that it would help to have better compliant
articles.  For instance, rejecting articles with "all" in their
distribution list.

But in some cases, people would need to upgrade their news
readers...  (and maybe change their news readers if it is
no longer maintained)
Or news admins will not be willing to upgrade to a news server
that is RFC-compliant.  (Unless syntax checks can be deactivated
but then, news admins will deactivate them, and the duty of
injecting agents will be useless -- "it bears much of the burden
of diagnosing broken posting agents or communicating policy
violations to posters".)

How can we handle that MUST without hurt?

-- 
Julien ÉLIE

« En vérité, le chemin importe peu, la volonté d'arriver
  suffit à tout. »