Re: Syntax validation of articles by injecting agents

Harald Alvestrand <harald@alvestrand.no> Wed, 06 January 2010 15:03 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 42CA73A659B for <ietfarch-usefor-archive@core3.amsl.com>; Wed, 6 Jan 2010 07:03:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.746
X-Spam-Level:
X-Spam-Status: No, score=-5.746 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-4]
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 EGvbghTLE45E for <ietfarch-usefor-archive@core3.amsl.com>; Wed, 6 Jan 2010 07:03:50 -0800 (PST)
Received: from balder-227.proper.com (Balder-227.Proper.COM [192.245.12.227]) by core3.amsl.com (Postfix) with ESMTP id 620B33A63C9 for <usefor-archive@ietf.org>; Wed, 6 Jan 2010 07:03:50 -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 o06EuvC2048164 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Jan 2010 07:56:57 -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 o06EuuXX048162; Wed, 6 Jan 2010 07:56:56 -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 eikenes.alvestrand.no (eikenes.alvestrand.no [158.38.152.233]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id o06Eusgr048156 for <ietf-usefor@imc.org>; Wed, 6 Jan 2010 07:56:55 -0700 (MST) (envelope-from harald@alvestrand.no)
Received: from localhost (localhost [127.0.0.1]) by eikenes.alvestrand.no (Postfix) with ESMTP id C5A6D39E255; Wed, 6 Jan 2010 15:56:27 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at eikenes.alvestrand.no
Received: from eikenes.alvestrand.no ([127.0.0.1]) by localhost (eikenes.alvestrand.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hlqNQI0TAbi2; Wed, 6 Jan 2010 15:56:27 +0100 (CET)
Received: from hta-dell.lul.corp.google.com (62-20-124-50.customer.telia.com [62.20.124.50]) by eikenes.alvestrand.no (Postfix) with ESMTPS id 6715939E165; Wed, 6 Jan 2010 15:56:27 +0100 (CET)
Message-ID: <4B44A4B4.6040204@alvestrand.no>
Date: Wed, 06 Jan 2010 15:56:52 +0100
From: Harald Alvestrand <harald@alvestrand.no>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Julien ÉLIE <julien@trigofacile.com>
CC: Usefor WG <ietf-usefor@imc.org>
Subject: Re: Syntax validation of articles by injecting agents
References: <35100640C1C848E4A3267B6B4FD3B9ED@Iulius>
In-Reply-To: <35100640C1C848E4A3267B6B4FD3B9ED@Iulius>
Content-Type: text/plain; charset="ISO-8859-15"; format="flowed"
Content-Transfer-Encoding: quoted-printable
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>

Julien ÉLIE wrote:
>
> Hi,
>
> RFC 5537 mentions that an injecting agent MUST reject any proto-article
> that is not syntactically valid as defined by RFC 5536.
RFC 5536 says about articles:

   An article is said to be conformant to this specification if it
   conforms to the format specified in Section 3 of [RFC5322] and to the
   additional requirements of this specification.

This doesn't require MIME.
It says about agents:

   User agents MUST meet the definition of MIME conformance in [RFC2049]
   and MUST also support [RFC2231].  This level of MIME conformance
   provides support for internationalization and multimedia in message
   bodies [RFC2045], [RFC2046], and [RFC2231], and support for
   internationalization of header fields [RFC2047] and [RFC2231].  Note
   that [Errata] currently exist for [RFC2045], [RFC2046], [RFC2047] and
   [RFC2231].

Yes, that requires that user agents conforming to RFC 5536 must add 
MIME-version headers.

I think the *important* part of all that conformance is that Just-Send-8 
messages are strictly illegal, and that if you use MIME, 2047 or 2231, 
you have to use it correctly.

                    Harald