Re: [imapext] General Request for Assignment (imap-keywords) (was: [JMAP] SMIME Attachments)
Barry Leiba <barryleiba@computer.org> Wed, 15 November 2017 02:43 UTC
Return-Path: <barryleiba.mailing.lists@gmail.com>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6F084127010 for <imapext@ietfa.amsl.com>; Tue, 14 Nov 2017 18:43:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.699
X-Spam-Level:
X-Spam-Status: No, score=-1.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 r3yuG_ynnYBx for <imapext@ietfa.amsl.com>; Tue, 14 Nov 2017 18:43:27 -0800 (PST)
Received: from mail-qt0-x231.google.com (mail-qt0-x231.google.com [IPv6:2607:f8b0:400d:c0d::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DD1CA1201F2 for <imapext@ietf.org>; Tue, 14 Nov 2017 18:43:26 -0800 (PST)
Received: by mail-qt0-x231.google.com with SMTP id 8so31265879qtv.1 for <imapext@ietf.org>; Tue, 14 Nov 2017 18:43:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=I4wDLOWmq/tS0dZjzIofrc/JpasVeTjKUY2iUWkUoio=; b=Cc1iYcdGDjR82bWl4I5XRVgeDB8sHjFTTyHNKEcC4Mq/dEfscoweQe8e2sjfikLkN7 rZ7x1bFBKPY9meK4Q2wHejd+jQu2UjdCce02rk6ab8Hib3RpjjP1A9ZhvZ46erYKfFgb OMLPTD4Il0HLgM/fh/wFx0SI81zzv+p6pcZ71cRbK3eFsVMy0bgWUEqd5ZflF9wj9PQZ 1bswtAU99K8+vYYGMwFER3WL4a8zsfMXFxCKuNkAt4HJ/zoObWuErfVKiCramAPJmBSB fSYkfYlZfOpeViEubQUVXYeV1zaKlFbs4KRkumDXEwQllaNgi/j+hQjZ1p2McMG5BLvY rwfQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=I4wDLOWmq/tS0dZjzIofrc/JpasVeTjKUY2iUWkUoio=; b=dEIYBQ7WvxfPn6CPZzg+7JtRD3YRPOG7OH0vlPdoqdfQ7lo7qcFvxtyLcDbpIM32fg xzBGIRPr2qMbsKbFodie4ONzGOPHE/8RnbIYYObC5nLlKDcvQBdwDGN6kVBz3aGo3Zj3 Q6oT0yUO1Mq4GmZnh13SOYF3eoWpO74zF9wwc2uzKQ3YDa7vGeMMAqz9kaoHTbQ19ICk Sb5MFtYExwnqRdAzxf290+1VVMOAfzi5evwnZEHRxyyOp4io5h8elzHV1rDxlLXydUlq RZ4MbXEzXeM4Zv2Ka1s5NCUFhslwy1KTJo58/wXIBUNlTCwlH0vluKF0iPGAsOjkEsc2 tjeQ==
X-Gm-Message-State: AJaThX709j7Cs+nv96m84W9vNxyMhth/mYMeysPBpGc0Ln0XbuQV4Dvx jjlRpjLEFFRwQ1+E5gmyJFljl1+WzG8ayMx6TzU=
X-Google-Smtp-Source: AGs4zMawxAYLh+VmO+UesIc6hwFPmmXK6rPV+ElTkqojjmdZLU9KgXdZhFk5zKFG8jUJ0kPAd/gqDM1x0rJXYNZALOE=
X-Received: by 10.200.7.135 with SMTP id l7mr20335012qth.122.1510713805953; Tue, 14 Nov 2017 18:43:25 -0800 (PST)
MIME-Version: 1.0
Sender: barryleiba.mailing.lists@gmail.com
Received: by 10.200.20.131 with HTTP; Tue, 14 Nov 2017 18:43:25 -0800 (PST)
In-Reply-To: <CACZ1GipM4+91KL00_YDcUHSF0eVnjh8vZAddbk869O4J1w9ZfA@mail.gmail.com>
References: <CACZ1GipM4+91KL00_YDcUHSF0eVnjh8vZAddbk869O4J1w9ZfA@mail.gmail.com>
From: Barry Leiba <barryleiba@computer.org>
Date: Wed, 15 Nov 2017 10:43:25 +0800
X-Google-Sender-Auth: hTtlfgvyl_w691Q79WSGydE-L_A
Message-ID: <CAC4RtVC42R+cpudekbXKvOk5PAjvQ=qSQ2drDYHiPOcTcOFkkQ@mail.gmail.com>
To: vaibhav singh <vaibhavsinghacads@gmail.com>
Cc: "imapext@ietf.org" <imapext@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/imapext/J8bQ5e9mKy9008odqf9qfZ20irQ>
Subject: Re: [imapext] General Request for Assignment (imap-keywords) (was: [JMAP] SMIME Attachments)
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 15 Nov 2017 02:43:29 -0000
Vaibhav left off one significant bit of my review: 4. ...the term “attachment” is a bit odd in today’s usage. Messages may have multiple parts. Whether some or all of those parts appear to the user as “attachments” depends upon the rendering. For example, a two-part message that is multipart/alternative... is there an “attachment”? How about a single-part message that is image/jpeg, with no text at all? What about if I forward a message and the forwarded message is included as a separate message/rfc822 part rather than being included in the main text? Barry On Mon, Nov 13, 2017 at 11:10 PM, vaibhav singh <vaibhavsinghacads@gmail.com> wrote: > Hello, > > In order to optimize the way attachments inside encrypted mail are treated > by the MUA, I am suggesting the registration of a "$HasEncryptedAttachment" > to the IMAP Keywords registry[RFC5788]. > > Please find details of the original proposal below: > >> Type of Assignment: >> Requesting for addition of a keyword "$HasEncryptedAttachment" to the >> IMAP Keywords registry[RFC5788]. >> >> Registry: >> The registration request is being made for IMAP Keywords >> registry[RFC5788]. >> >> Description: >> This flag can be useful so that the MUA can display an attachment >> icon when displaying >> messages in the folder, without it having to decrypt the message. >> This flag can also be used to filter >> encrypted emails with attachments. >> >> Additional Info: >> The $HasEncryptedAttachment IMAP keyword will be used by IMAP/JMAP >> MUA to >> specify that the marked encrypted message contains an attachment. >> A MUA-with-keys >> sets this keyword when it sees a message having an attachment >> before encryption. >> This flag can be useful so that the MUA can display an attachment >> icon when displaying >> messages in the folder, without it having to decrypt the message. >> This flag can also be used to filter >> encrypted emails with attachments. >> >> Once set, any entity (be it the MDA or receiver's MUA) SHOULD not edit >> the flag. >> >> JMAP Message Stores SHOULD be able to store the >> $HasEncryptedAttachment keyword. >> They MUST preserve it on the COPY operation. The servers MUST >> support the SEARCH KEYWORD $HasEncryptedAttachment. > > Please find comments by Mr. Barry Leiba, and my answers below (marked as > <vs>): > > 1.) There should also be a “has no attachment” keyword, so the MUA doesn’t > have to check either way and only needs to check if neither is set. > > <vs> Agreed. </vs> > > 2.) The keyword is poorly named: it’s not about an encrypted attachment, but > about any attachment. I suppose that in the end there no reason to mention > encryption at all, because it could be used for any message, though it’s > less important for unencrypted ones. > > <vs> Not really sure. </vs> > > 3.) How will the server know to set the keyword? The server also can’t > decrypt an incoming message, and so it can’t check. Where does the > knowledge come from? It seems that it could only work for messages that are > created locally, with the keyword set at creation. > > <vs> A better use case for the flag could be: the server could set this > flag to true when it sees the mime being decrypted the first time, so that > any scans later on would not have to decrypt the mail again to know the > presence of the attachment inside it </vs> > > Will this be useful? > > -- > > Regards, > Vaibhav Singh > > _______________________________________________ > imapext mailing list > imapext@ietf.org > https://www.ietf.org/mailman/listinfo/imapext >
- [imapext] General Request for Assignment (imap-ke… vaibhav singh
- Re: [imapext] General Request for Assignment (ima… Arnt Gulbrandsen
- Re: [imapext] General Request for Assignment (ima… Bron Gondwana
- Re: [imapext] General Request for Assignment (ima… Arnt Gulbrandsen
- Re: [imapext] General Request for Assignment (ima… Cyrus Daboo
- Re: [imapext] General Request for Assignment (ima… Bron Gondwana
- Re: [imapext] General Request for Assignment (ima… Barry Leiba
- Re: [imapext] General Request for Assignment (ima… Alexey Melnikov
- Re: [imapext] General Request for Assignment (ima… Barry Leiba
- Re: [imapext] General Request for Assignment (ima… vaibhav singh
- Re: [imapext] General Request for Assignment (ima… Neil Jhaveri
- Re: [imapext] General Request for Assignment (ima… Chris Newman