Re: [imapext] Registering $hasAttachment & $hasNoAttachment

Alexey Melnikov <aamelnikov@fastmail.fm> Mon, 04 December 2017 10:17 UTC

Return-Path: <aamelnikov@fastmail.fm>
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 8C39C126D85 for <imapext@ietfa.amsl.com>; Mon, 4 Dec 2017 02:17:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.72
X-Spam-Level:
X-Spam-Status: No, score=-2.72 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fastmail.fm header.b=DOstKwpy; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=C0V7xvTe
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 bqR6LwLHQxi6 for <imapext@ietfa.amsl.com>; Mon, 4 Dec 2017 02:17:14 -0800 (PST)
Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4C6F6126C25 for <imapext@ietf.org>; Mon, 4 Dec 2017 02:17:14 -0800 (PST)
Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id A48F020C71; Mon, 4 Dec 2017 05:17:13 -0500 (EST)
Received: from frontend1 ([10.202.2.160]) by compute7.internal (MEProxy); Mon, 04 Dec 2017 05:17:13 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=ZPAqpwfAh+xIo2XC0lqiIaPdq2GVI ZTQw54k5cSlMhw=; b=DOstKwpy3plBkimnGxBkrognZDHRTZ8ApQWrxlwKsuszX MlL3dSdP1/q0q+k0uD6jesfQ0mv/h/D86KNJ3S6v05cz3qt/eoMD/SbFTiBzRKMZ JjCUFwgQiadMLsrawAxdNgCciLwoZ0Gzhuv2VTjgOLlis42lAU+lMqWkjVXvMLJP fdWiHgNt94X6FFS5JVQ4iBJTlMgBDoWsuXuhKGCsoZK3Zw1MiVcEJvkB17TA9xkL YTFDLUsr5FBHGoOZosgtmyV4ge3RUpMWpxuLz8t/Ms2+P8zZs/F0NLIrvcjD5Q1D 4toYNw40Fq+bTnmLoC1OV0luRGbRObpy0CHNzhOAg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=ZPAqpw fAh+xIo2XC0lqiIaPdq2GVIZTQw54k5cSlMhw=; b=C0V7xvTeSUIsAv9UGsfWpi BBFwgBz20Ss2BcaTbv28Or9E7ODbrVoQLBzYExUNXxzE7H8yigPi/9UMFpa2UvKy 1MnPahCcd5uEbgHYbK5i2zXjxctd+B5gqSQb1QmKoDe1Vrz3Jopj+PvRoJDeoj0C qTzD+xr9f+UsYhqNiRL8sKKAP3NNzaj8rFCfOkR+K8ZXzvAezhWbOhY8xCakcN4u yvcV7Z0hAFihNbqrZ8CA+Fc101lqmtqBtX+ToTYZ4ndXJgC58d2D76WBGesa8Dbv 5Y0stIRyrpmZ4C5kwTp/ECeo4ANbKHmIgE/y26x2k4tbUPxQlnnshm97C0S5UiEQ ==
X-ME-Sender: <xms:qSAlWoNlbjNumqW0ArPASMAZSBqpVPrrNBVIwu2TDLInyyjskfoCbg>
Received: from [172.22.50.48] (unknown [62.232.206.186]) by mail.messagingengine.com (Postfix) with ESMTPA id 507847F9A9; Mon, 4 Dec 2017 05:17:13 -0500 (EST)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (1.0)
From: Alexey Melnikov <aamelnikov@fastmail.fm>
X-Mailer: iPhone Mail (13G35)
In-Reply-To: <1512346907.3913979.1192707160.32EA0EE2@webmail.messagingengine.com>
Date: Mon, 4 Dec 2017 10:25:16 +0000
Cc: imapext@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <3A29C592-4FAE-49DB-B6D9-1AC5F3CC42A8@fastmail.fm>
References: <20171203235834.GB1632@meili> <1512346907.3913979.1192707160.32EA0EE2@webmail.messagingengine.com>
To: Neil Jenkins <neilj@fastmailteam.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/imapext/pW-dT3s-nGtkiuLbaAlEeRJBlZ0>
Subject: Re: [imapext] Registering $hasAttachment & $hasNoAttachment
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: Mon, 04 Dec 2017 10:17:15 -0000

Hi,

> On 4 Dec 2017, at 00:21, Neil Jenkins <neilj@fastmailteam.com> wrote:
> 
>> On Mon, 4 Dec 2017, at 10:58 AM, Josef 'Jeff' Sipek wrote:
>> IMAP keyword name: $hasAttachment
> 
> We're using $HasAttachment (capital H) at FastMail. Please can we standardise on this capitalisation? This is consistent with the other IMAP keyword registrations too.
> 
>> Note:
>> $hasAttachment and $hasNoAttachment are mutually exclusive.  If more than
>> one of them is set for a message, the email client MUST treat this as if
>> neither of them is set and SHOULD remove both of them from the IMAP
>> server.
> 
> Surely it SHOULD remove the one that is incorrect rather than both?

I think everything after "and SHOULD" can be deleted. As presence of both means neither is present, both what is written above and what you suggest is a reasonable course of action.

Best Regards,
Alexey