Re: Last Call: draft-ietf-usefor-usepro (Netnews Architecture and Protocols) to Proposed Standard

Russ Allbery <rra@stanford.edu> Mon, 22 September 2008 15:50 UTC

Return-Path: <ietf-bounces@ietf.org>
X-Original-To: ietf-archive@megatron.ietf.org
Delivered-To: ietfarch-ietf-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9710528C1D4; Mon, 22 Sep 2008 08:50:15 -0700 (PDT)
X-Original-To: ietf@core3.amsl.com
Delivered-To: ietf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1A8FC3A6A8B for <ietf@core3.amsl.com>; Sun, 21 Sep 2008 19:44:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.652
X-Spam-Level:
X-Spam-Status: No, score=-2.652 tagged_above=-999 required=5 tests=[AWL=1.347, BAYES_50=0.001, 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 ESnOUmzxX00F for <ietf@core3.amsl.com>; Sun, 21 Sep 2008 19:44:52 -0700 (PDT)
Received: from smtp1.stanford.edu (smtp1.Stanford.EDU [171.67.22.28]) by core3.amsl.com (Postfix) with ESMTP id 612343A6C76 for <ietf@ietf.org>; Sun, 21 Sep 2008 19:44:52 -0700 (PDT)
Received: from smtp1.stanford.edu (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 710AC2D6A50; Sun, 21 Sep 2008 19:44:52 -0700 (PDT)
Received: from windlord.stanford.edu (windlord.Stanford.EDU [171.64.19.147]) by smtp1.stanford.edu (Postfix) with ESMTP id B7D9F2D6D6B; Sun, 21 Sep 2008 19:44:51 -0700 (PDT)
Received: by windlord.stanford.edu (Postfix, from userid 1000) id 3C1A9E7AB7; Sun, 21 Sep 2008 19:44:51 -0700 (PDT)
To: SM <sm@resistor.net>
Subject: Re: Last Call: draft-ietf-usefor-usepro (Netnews Architecture and Protocols) to Proposed Standard
In-Reply-To: <6.2.5.6.2.20080906004844.0333aff0@resistor.net> (sm@resistor.net's message of "Sat\, 06 Sep 2008 08\:36\:29 -0700")
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)
References: <6.2.5.6.2.20080906004844.0333aff0@resistor.net>
From: Russ Allbery <rra@stanford.edu>
Organization: The Eyrie
Date: Sun, 21 Sep 2008 19:44:51 -0700
Message-ID: <878wtksxuk.fsf@windlord.stanford.edu>
MIME-Version: 1.0
X-Mailman-Approved-At: Mon, 22 Sep 2008 08:50:11 -0700
Cc: ietf-usefor@imc.org, ietf@ietf.org
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: ietf-bounces@ietf.org
Errors-To: ietf-bounces@ietf.org

(I am not a subscriber to the ietf list and would appreciate copies of
replies.)

SM <sm@resistor.net> writes:

> Section 3.4 of this I-D states that:
>
>   "Contrary to [RFC2822], which implies that the mailbox or mailboxes in
>    the From header field should be that of the poster or posters, a
>    poster who does not, for whatever reason, wish to use his own mailbox
>    MAY use any mailbox ending in the top level domain ".invalid"
>    [RFC2606]."
>
> The use of an invalid email address for the author can be a problem if the
> message goes through a news-to-mail gateway.  Section 3.10.1 (Duties of an
> Outgoing Gateway) doesn't mention what should be done in such a case.
> Section 3.6.2 of RFC 2822 mentions that:
>
>   "In all cases, the "From:" field SHOULD NOT contain any mailbox that
>    does not belong to the author(s) of the message."
>
> Should such messages be discarded by a news-to-mail gateway as they are
> not meaningful in that medium?

The message is still meaningful; however, it violates a SHOULD in RFC 2822
(well, sort of, depending on how you interpret "belong" in the case of an
address that by definition doesn't belong to anyone).

I think a gateway has two acceptable choices: preserve the From header and
violate the SHOULD, or replace the From header with some contact address
for the gateway (a copy of the Sender header, for example).  From a
quality of implementation perspective, as a consumer of a gateway, I'd
much prefer the former behavior.

Regardless, however, news-to-mail gateways are not standardized by this
draft, so I don't think this is an issue for this document.  See 3.10.1:

   From the perspective of Netnews, an outgoing gateway is just a
   special type of reading agent.  The exact nature of what the outgoing
   gateway will need to do to articles depends on the medium to which
   the articles are being gated.

I think work on a best-practices guide for gateways would be great, but I
think the e-mail side of the gateway is outside the scope of this
document.

> That could be avoided by encapsulating the message in a new message and
> sending it with Content-Type application/news-transmission.

This wouldn't be a gateway; it would be transmission of a news article
through e-mail.  See 3.10:

   A gateway transforms an article into the native message format of
   another medium, or translates the messages of another medium into
   news articles, or transforms articles into proto-articles for
   injection into a separate Netnews network.  Encapsulation of a news
   article into a message of MIME type application/news-transmission, or
   the subsequent undoing of that encapsulation, is not gatewaying,
   since it involves no transformation of the article.

> In Section 3.5.1:
>
>   "The proto-article is sent as an email with the addition of any
>    header fields (such as a To header field) required for an email."
>
> The To header field is not required; the From header is.  I suggest:
>
>    The proto-article is sent as an email with the addition of any
>    header fields required for an email as defined in RFC2822.

Yes, thank you.  I now have:

   2.  The proto-article is sent as an email with the addition of any
       header fields required for an email as defined in [RFC2822], and
       possibly with the addition of other header fields conventional in
       email such as To and Received.  The existing Message-ID header
       field SHOULD be retained.

> Section 3.10.2 recommends the following for an incoming gateway:
>
>  "If the original message already had a Sender header field, it SHOULD be
>   renamed so that its contents can be preserved."
>
> The draft doesn't specify to what the header should be renamed.  I
> suggest creating a new header field for it.
>
>   If the original message already had a Sender header field, it SHOULD be
>   renamed to original-sender so that its contents can be preserved.
>
>     original-sender          =   "Original-Sender:" mailbox CRLF
>
> A request to IANA to update the the Permanent Message Header Field
> Repository with the following is required:
>
>    Header field name:  Original-Sender
>    Applicable protocol:  Netnews
>    Status:  standard
>    Author/Change controller:  IETF
>    Specification document(s):  This document (section 3.10.2)

Hm.  Well, if we were to add a new header field, it really needs to go
into USEFOR and not here, since USEFOR is the canonical document for
header fields for netnews articles.  USEFOR has already gone through Last
Call, however.

I can see your point here, but I'm not sure the lack is particularly
important.  I'd really rather not see us make further changes to USEFOR;
generally an X-* header is used for this and is adequate in practice.

> In Section 3.10.3, it is mentioned that:
>
>  "The news-to-mail gateway adds an X-Gateway header field to all
>   messages it generates."
>
> It may be better to depreciate the use of X- headers.

Well, this is very explicitly an example based on a specific
implementation, which happens to use an X-* header.  But I can see where
this would be less than ideal.  However, as above, I'm hesitant to invent
a new header for this purpose and add the necessary machinery for
registering it when there is no standardized existing practice and it's
not clear what issues are involved in picking a header field,
standardizing its format, and so forth.

One of the problems is that the working group is very low on resources for
taking on much more work at this point.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
_______________________________________________
Ietf mailing list
Ietf@ietf.org
https://www.ietf.org/mailman/listinfo/ietf