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

Stephan Bosch <stephan.bosch@dovecot.fi> Thu, 19 July 2018 14:36 UTC

Return-Path: <stephan.bosch@dovecot.fi>
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 460541310E8 for <extra@ietfa.amsl.com>; Thu, 19 Jul 2018 07:36:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 UlXf0o_vQOJC for <extra@ietfa.amsl.com>; Thu, 19 Jul 2018 07:36:50 -0700 (PDT)
Received: from mail.dovecot.fi (wursti.dovecot.fi [94.237.32.243]) by ietfa.amsl.com (Postfix) with ESMTP id 811851310F2 for <extra@ietf.org>; Thu, 19 Jul 2018 07:36:50 -0700 (PDT)
Received: from [192.168.1.109] (unknown [217.119.239.130]) by mail.dovecot.fi (Postfix) with ESMTPSA id D9C6828D0E2; Thu, 19 Jul 2018 17:30:23 +0300 (EEST)
To: Bron Gondwana <brong@fastmailteam.com>, Ned Freed <ned.freed@mrochek.com>
Cc: extra@ietf.org
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>
From: Stephan Bosch <stephan.bosch@dovecot.fi>
Message-ID: <dbbc5e4b-cf51-9c63-9687-9d3e052ab748@dovecot.fi>
Date: Thu, 19 Jul 2018 16:30:12 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <1532009687.619593.1446153224.1D941F59@webmail.messagingengine.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/pqOOOtCdGQGSqpKuT7_sPJ6voDI>
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:37:08 -0000


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.

Regards,

-- 

Stephan Bosch
Senior Developer

Phone: +49 2761 75252 00  Fax: +49 2761 75252 30
Email: stephan.bosch@dovecot.fi


-------------------------------------------------------------------------------------
Open-Xchange AG,  Rollnerstr. 14, 90408 Nuremberg, District Court Nuremberg HRB 24738
Managing Board: Rafael Laguna de la Vera, Carsten Dirks, Uwe Reumuth
Chairman of the Board: Richard Seibt

Dovecot Oy, Lars Sonckin Kaari 10, 02600 Espoo, Finland
Managing Director: Markku Kenttä
Chairman of the Board: Timo Sirainen
Board Member: Carsten Dirks

-------------------------------------------------------------------------------------