Re: [Extra] I-D Action: draft-ietf-extra-sieve-special-use-01.txt

Bron Gondwana <brong@fastmailteam.com> Thu, 19 July 2018 14:38 UTC

Return-Path: <brong@fastmailteam.com>
X-Original-To: extra@ietfa.amsl.com
Delivered-To: extra@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 48B9B1310F8 for <extra@ietfa.amsl.com>; Thu, 19 Jul 2018 07:38:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fastmailteam.com header.b=uPqfNE8k; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=pFzckOvo
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 QgVdaG6ygrGS for <extra@ietfa.amsl.com>; Thu, 19 Jul 2018 07:38:29 -0700 (PDT)
Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CC17513105F for <extra@ietf.org>; Thu, 19 Jul 2018 07:38:27 -0700 (PDT)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 39F9121ADA; Thu, 19 Jul 2018 10:38:27 -0400 (EDT)
Received: from web1 ([10.202.2.211]) by compute6.internal (MEProxy); Thu, 19 Jul 2018 10:38:27 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= fastmailteam.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=fm3; bh=CgCZ/3 71YAnkt3tmIQq93J3GlRavOWneQyFVpKAsPnA=; b=uPqfNE8kIkG/k+YmWzd5Bb cpP2XgCsY7li1imnp88GElTSB6cjeHU3VSpPjn97ihAz/Mh9tZDr3CGtAVGiXtgB hXyRDxd7etSi0qD8RVhUbifuvP+StFSQXAUOOJy6iHRRYOkJN+PX5t2p0lwphxA/ Ff2G7Y2/fh7yYTusYUBMtBvGT0/twe1bInIckBC+NM99kuMC59T7NxhZ65NQ6Iwz A1INaARU9x/wyVBXaK/4IZC9ZDHxBDTdPHYbFDV01HWixagzdqEmraAf5WnaQPOq SBrIg79P3wj7ifbQk23tazJwIyNk9HBLigsPyVWY/Za1pqycT4cFSGkurxeRvDUg ==
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=fm3; bh=CgCZ/3 71YAnkt3tmIQq93J3GlRavOWneQyFVpKAsPnA=; b=pFzckOvofX0BvobRMsyKOJ w3K2KUCVXAbAhZppy/+jyd+RexUW+SShp+ZgEsScuADcG/glSej60MlWzrlOddbu DO3rX3wAAJH2NWYiRzZAe0F7cbUe1HOFKiB7xMQa5gr7pPDtBpNwQmqVW/GOwRBf NQJTYGlmFYG80a79zi3q2Ht5PJVKcrj9XrtROgCdR/UkDkb0Acgm9NRp4XezIT3B 7hB8bZGA32wncaKRWiGs0RBuEiW+d5xz08f4QMiFWaVXw2wnq01x8NtOwPrFyBhK c65OmHAdBbdsu8hOk2ZsnRVoXa3vQayXCnsKhuKAXya3vqUAIjDYdHN1nbVvaXiQ ==
X-ME-Proxy: <xmx:YqJQWwY345Axm6ts5tCnz4LPwM-3JsAtWf_mCrZ4-734s2I1Iv26uQ> <xmx:YqJQWxFgznZGK1QIfUEBRCz-BRd7XeQN9DQa0VO0Ha0_1KzHTtU-cA> <xmx:YqJQW8I_M5PPwSqy2eZomyWUXbcRm-FutuXIm3MX8uR5v-SAadKZJw> <xmx:YqJQW4ercgJV5FCxH3s9ynEmBwwDYerSfD1oVgxCS8xbsj3RYnB3hg> <xmx:YqJQWxaYPQaVKlijfTHjnxwsYV3jLqBSjvduGkTH2L08VhQj-KhbCg> <xmx:Y6JQW8A_x08PyVGcbqjBd4GW2Z2xCvOxDOxV9gFEAIiEx4wAbzGSrw>
X-ME-Sender: <xms:YqJQWxdiPSiLBi2cdceAmMANl13UqiCqRdVgS7LN_V3tKzN3VatBhQ>
Received: by mailuser.nyi.internal (Postfix, from userid 99) id C5190940DA; Thu, 19 Jul 2018 10:38:26 -0400 (EDT)
Message-Id: <1532011106.627372.1446184024.23C7528C@webmail.messagingengine.com>
From: Bron Gondwana <brong@fastmailteam.com>
To: Stephan Bosch <stephan.bosch@dovecot.fi>, Ned Freed <ned.freed@mrochek.com>
Cc: extra@ietf.org
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: multipart/alternative; boundary="_----------=_15320111066273720"
X-Mailer: MessagingEngine.com Webmail Interface - ajax-e74bb3a0
Date: Fri, 20 Jul 2018 00:38:26 +1000
In-Reply-To: <dbbc5e4b-cf51-9c63-9687-9d3e052ab748@dovecot.fi>
References: <151533655607.10858.793231788332492256@ietfa.amsl.com> <ce56fc8f-366a-8e1e-2f00-1ed22da28d15@dovecot.fi> <01QNLYA7BLVQ000051@mauve.mrochek.com> <83ddcadc-b756-91c1-3664-81955cd8f0d8@dovecot.fi> <01QTO3THVZ5I00AI1F@mauve.mrochek.com> <53350c64-d021-7f17-86b8-f1b118791cf5@dovecot.fi> <01QV1PSEOL14000051@mauve.mrochek.com> <1532009687.619593.1446153224.1D941F59@webmail.messagingengine.com> <dbbc5e4b-cf51-9c63-9687-9d3e052ab748@dovecot.fi>
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/bLZmlvDvMTEnCkGfMae0gry0AlY>
Subject: Re: [Extra] I-D Action: draft-ietf-extra-sieve-special-use-01.txt
X-BeenThere: extra@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Email mailstore and eXtensions To Revise or Amend <extra.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/extra>, <mailto:extra-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/extra/>
List-Post: <mailto:extra@ietf.org>
List-Help: <mailto:extra-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/extra>, <mailto:extra-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Jul 2018 14:38:41 -0000

On Fri, Jul 20, 2018, at 00:30, Stephan Bosch wrote:
> 
> 
> Op 19-7-2018 om 16:14 schreef Bron Gondwana:
>> On Thu, Jul 19, 2018, at 23:40, Ned Freed wrote:
>>> 
>>>       However, I think use of SELECT for this purpose is
>>>       problematic: It's
>>>       potentially expensive and worse, may cause undesireable state>>>       changes.
>>>       Why
>>>       not use the MYRIGHTS command to obtain the access rights (and>>>       check
>>>       for "p" or
>>>       "i") without having to select the mailbox?
>>> 
>>> 
>>>   Sure, if the ACL capability is available. I can mention that. If
>>>   it is
>>>   not available, there is really no alternative to using SELECT,
>>>   right?>>> 
>>> 
>>> Not as far as I know. But again, the problem is that SELECTing a
>>> mailbox>>> on behalf of a user can change its state, with all that implies. I'd>>> rather
>>> have my implementation fail if ACL isn't present than have a sieve
>>> operation
>>> cause a state change.
>> 
>> Thanks \Recent.  But at least EXAMINE rather than SELECT should also>> mean no change made (in theory).
>> 
> 
> The EXAMINE command will not provide information on the read-
> only status> of the mailbox though:
> 
> RFC 3501, Section 6.3.2:
> 
> The text of the tagged OK response to the EXAMINE command MUST begin
> with the "[READ-ONLY]" response code.
Oh yeah, good point.  Right!  So MYRIGHTS seems the right way then
:)  (it's certainly what we're doing the moral equivalent of
inside our code)
Bron.

--
  Bron Gondwana, CEO, FastMail Pty Ltd
  brong@fastmailteam.com