Re: [imapext] General Request for Assignment (imap-keywords) (was: [JMAP] SMIME Attachments)

Barry Leiba <barryleiba@computer.org> Wed, 15 November 2017 02:58 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 51473127863 for <imapext@ietfa.amsl.com>; Tue, 14 Nov 2017 18:58:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.7
X-Spam-Level:
X-Spam-Status: No, score=-1.7 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] 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 8yAcDsBCd0h8 for <imapext@ietfa.amsl.com>; Tue, 14 Nov 2017 18:58:42 -0800 (PST)
Received: from mail-qt0-x236.google.com (mail-qt0-x236.google.com [IPv6:2607:f8b0:400d:c0d::236]) (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 3E9B7127137 for <imapext@ietf.org>; Tue, 14 Nov 2017 18:58:42 -0800 (PST)
Received: by mail-qt0-x236.google.com with SMTP id f8so31308186qta.5 for <imapext@ietf.org>; Tue, 14 Nov 2017 18:58:42 -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=MiMi/ZEhhczLetNAZo0ocSRRaxlYg9Ktc6uCI7pqepc=; b=oIoMqNZTSszypoqlBBdsYvy6auUXficqSRcD1+BG69CpvQt06vYwO7duds+x7u+v1T Ph6zxcptw3x9BJli9q+Fko25/r7kHh0tCg5rQ0lW9hhl032lboIFfGhcuvzD9KrFNXxm BpNqVSVHbYnVEMXFdn/jLkQKvPReOj+k20vytzQQ7wRrwZM8rvHy+ao76oNbRwQ4LraC bPqzDmHi4F3Jiq7zgcSzlZ9hYEz8AMt78D8mSHLA4GFwM3pWXXPqYfNMigjd0rQTCq5E 3VHd4Mmeidsn/g2Sp57jGRqPRz5T57SajiSim8n2wGTX41KCgppbT0xLS4khJFZgAfe0 ef5w==
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=MiMi/ZEhhczLetNAZo0ocSRRaxlYg9Ktc6uCI7pqepc=; b=li/EtJKTv1dd4Z6KXcrl23jtWILBk6lc1uLK+FhG5ZQI9f1KsoM8OtmXr7SXe9t+wQ 6irxptR//uGjEkAPzRd4nnrDvFQJJrtY4PbPmwG7rk4bsyPTMVB7VVrwbrrXzNMSFaNp ekwFEYVI7PMQP4tHz7zcORkNLcwNYuMLfoSbPsRs0FrIqu2XPioH/YHkK1xK+dseD9uE JSwmERbjpSRmm5oPRRiHrkqipBylQyR5OCRF5FxZUakd/2NWFE05KyZ+Si/rM3OUTx/i eTLFysFyi8qcu5MKNaYzgjKwZuEE1q4VPJfxIsn/9A6nESA4AlvCi5ThD8eib9g3A5tl wi2g==
X-Gm-Message-State: AJaThX7/dJEYOtGMnHVtRbRweySMlMmW4+Ar6kN8bgKoQpALS6WIlHXv WHTHXbrdLr6jeE4QgHTfXEKKz/pzOPrSQnPoDAI=
X-Google-Smtp-Source: AGs4zMYFrow0odNhAe5far7QXBJHTvPyHYqUu4Ndep/KksjGAfg/4esubU1QlmJ4aWoQqRaD65W+jwW6F+zaks7Wf9I=
X-Received: by 10.200.42.219 with SMTP id c27mr23820114qta.28.1510714721390; Tue, 14 Nov 2017 18:58:41 -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:58:40 -0800 (PST)
In-Reply-To: <5A0BAC8D.8040308@isode.com>
References: <CACZ1GipM4+91KL00_YDcUHSF0eVnjh8vZAddbk869O4J1w9ZfA@mail.gmail.com> <CAC4RtVC42R+cpudekbXKvOk5PAjvQ=qSQ2drDYHiPOcTcOFkkQ@mail.gmail.com> <5A0BAC8D.8040308@isode.com>
From: Barry Leiba <barryleiba@computer.org>
Date: Wed, 15 Nov 2017 10:58:40 +0800
X-Google-Sender-Auth: LaiUYCDokxMuprrSAu0y5ASx4ZY
Message-ID: <CAC4RtVBBTrK6nY6JDq8mAD1_--nxyxBg-OGjxQ8LmfJwOGo6-w@mail.gmail.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>
Cc: vaibhav singh <vaibhavsinghacads@gmail.com>, "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/rY8zZbR-3mKcG5YCyzbjFszDbM0>
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:58:43 -0000

>> 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?
>
> I think "Content-Disposition: attachment" is a good indicator of whether
> something is an "attachment". In absence of Content-Disposition any
> decision is an heuristic.

Sure, but the use of Content-Disposition is sporadic and unreliable.

I think that, basically, this issue speaks to a preference for the
suggestion of storing a BODYPART parse on first use, and then being
able to use that for optimization later.

Barry