Re: [ietf-822] utf8 messages

Alessandro Vesely <vesely@tana.it> Wed, 13 August 2014 12:08 UTC

Return-Path: <vesely@tana.it>
X-Original-To: ietf-822@ietfa.amsl.com
Delivered-To: ietf-822@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1885D1A085F for <ietf-822@ietfa.amsl.com>; Wed, 13 Aug 2014 05:08:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.09
X-Spam-Level:
X-Spam-Status: No, score=-3.09 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HELO_EQ_IT=0.635, HOST_EQ_IT=1.245, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.668, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AA03xQh9fBt4 for <ietf-822@ietfa.amsl.com>; Wed, 13 Aug 2014 05:08:44 -0700 (PDT)
Received: from wmail.tana.it (www.tana.it [62.94.243.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D75ED1A085A for <ietf-822@ietf.org>; Wed, 13 Aug 2014 05:08:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tana.it; s=beta; t=1407931717; bh=MNMwEqe4rU8IQU3JoNePr5KnPPzA4gfYOFfT2JHR/lQ=; l=1513; h=Date:From:To:References:In-Reply-To; b=kbTbZJxgGfBTNxj2jNShJFG/6ylyxg5xQTjMeUkGHc0+K0Jh5bc35MCGfESHWr578 40sNoDMFSppwJHFduk8/VoFkv3A9TodqBtQCVtEnKpa7gqohMD5qaxJVcUQFHzqGLD Jxyy7kMaWf0zL116kIPp+aFViQ6Au43hy34rqok0=
Authentication-Results: tana.it; auth=pass (details omitted)
Received: from [37.183.66.139] ([37.183.66.139]) (AUTH: CRAM-MD5 uXDGrn@SYT0/k, TLS: TLSv1/SSLv3,128bits,AES128-SHA) by wmail.tana.it with ESMTPSA; Wed, 13 Aug 2014 14:08:37 +0200 id 00000000005DC039.0000000053EB5545.00000465
Message-ID: <53EB553E.8040303@tana.it>
Date: Wed, 13 Aug 2014 14:08:30 +0200
From: Alessandro Vesely <vesely@tana.it>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0
MIME-Version: 1.0
To: ietf-822@ietf.org
References: <CABa8R6tWEhjjZSvq6NbM7EimokOms3suZufn0-6N1SB_fzGM8Q@mail.gmail.com> <01PB9FABWA4E0000SM@mauve.mrochek.com> <CABa8R6tns-idiZTj=+vb9fVNyH-nNYT+w9oNMb80XbCs5osvFw@mail.gmail.com> <01PBABOOL4QO0000SM@mauve.mrochek.com> <CABa8R6vBqS1ewmTtHh8tTOdzobsWpvSEokRxOqpj1Oq3hA+vsw@mail.gmail.com>
In-Reply-To: <CABa8R6vBqS1ewmTtHh8tTOdzobsWpvSEokRxOqpj1Oq3hA+vsw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/ietf-822/cpd7OKVaJVIH7bnXUPsHdDHhVYk
Subject: Re: [ietf-822] utf8 messages
X-BeenThere: ietf-822@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Discussion of issues related to Internet Message Format \[RFC 822, RFC 2822, RFC 5322\]" <ietf-822.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf-822>, <mailto:ietf-822-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf-822/>
List-Post: <mailto:ietf-822@ietf.org>
List-Help: <mailto:ietf-822-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf-822>, <mailto:ietf-822-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Aug 2014 12:08:46 -0000

On Wed 13/Aug/2014 10:00:32 +0200 Brandon Long wrote:
> Adding under-specified 6532 messages to the mix means that we are now
> generating messages that can easily slip into the second pool.  We try
> our best to only generate well specified / syntactically correct
> messages.. "be conservative in what you send" and all, but now we're
> being forced to take steps that we know will increase the number of
> failures.  We're attempting to adjust our heuristics to compensate, but
> that seems like a poor response compared to making the messages be well
> specified.

QUESTION:  UTF8 compliant receivers may want to reject utf8 messages for
certain recipients who cannot upgrade their readers.  But thanks to the
specific reply code, retrying doesn't seem to be a problem if the
message can be downgraded trivially.  So, is it advisable to *always*
use the SMTPUTF8 extension if both peers support it?

That habit would produce valid 6532 messages which are also valid 5322,
hence trivially downgradable.  Section 3.4 of RFC 6531 says:

                                          If the SMTPUTF8-aware SMTP
   client is aware that neither the envelope nor the message being sent
   requires any of the SMTPUTF8 extension capabilities, it SHOULD NOT
   supply the SMTPUTF8 parameter with the MAIL command.

Now, having an external marker would make the client aware, and thus
inhibit homogeneous treatment of messages.  That strategy seems to be
good if only a few servers switch to utf8...  If I were Google, I'd
assume they follow.

Ale