Re: [sieve] Working Group Last Call: draft-ietf-sieve... autoreply, notify-presence, vacation-seconds

Tony Hansen <tony@att.com> Thu, 14 October 2010 02:45 UTC

Return-Path: <tony@att.com>
X-Original-To: sieve@core3.amsl.com
Delivered-To: sieve@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C86CA3A67B8 for <sieve@core3.amsl.com>; Wed, 13 Oct 2010 19:45:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.384
X-Spam-Level:
X-Spam-Status: No, score=-106.384 tagged_above=-999 required=5 tests=[AWL=0.215, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VlyNcNOejE2V for <sieve@core3.amsl.com>; Wed, 13 Oct 2010 19:45:23 -0700 (PDT)
Received: from mail167.messagelabs.com (mail167.messagelabs.com [216.82.253.179]) by core3.amsl.com (Postfix) with ESMTP id 586F23A69EC for <sieve@ietf.org>; Wed, 13 Oct 2010 19:45:22 -0700 (PDT)
X-VirusChecked: Checked
X-Env-Sender: tony@att.com
X-Msg-Ref: server-4.tower-167.messagelabs.com!1287024398!18909088!1
X-StarScan-Version: 6.2.4; banners=-,-,-
X-Originating-IP: [144.160.20.145]
Received: (qmail 8391 invoked from network); 14 Oct 2010 02:46:39 -0000
Received: from sbcsmtp6.sbc.com (HELO mlpd192.enaf.sfdc.sbc.com) (144.160.20.145) by server-4.tower-167.messagelabs.com with DHE-RSA-AES256-SHA encrypted SMTP; 14 Oct 2010 02:46:39 -0000
Received: from enaf.sfdc.sbc.com (localhost.localdomain [127.0.0.1]) by mlpd192.enaf.sfdc.sbc.com (8.14.4/8.14.4) with ESMTP id o9E2kuB5026931 for <sieve@ietf.org>; Wed, 13 Oct 2010 22:46:56 -0400
Received: from alpd052.aldc.att.com (alpd052.aldc.att.com [130.8.42.31]) by mlpd192.enaf.sfdc.sbc.com (8.14.4/8.14.4) with ESMTP id o9E2kpuk026908 for <sieve@ietf.org>; Wed, 13 Oct 2010 22:46:51 -0400
Received: from aldc.att.com (localhost.localdomain [127.0.0.1]) by alpd052.aldc.att.com (8.14.4/8.14.4) with ESMTP id o9E2kXnO000652 for <sieve@ietf.org>; Wed, 13 Oct 2010 22:46:33 -0400
Received: from dns.maillennium.att.com (dns.maillennium.att.com [135.25.114.99]) by alpd052.aldc.att.com (8.14.4/8.14.4) with ESMTP id o9E2kRjt000604 for <sieve@ietf.org>; Wed, 13 Oct 2010 22:46:27 -0400
Received: from [135.70.112.166] (vpn-135-70-112-166.vpn.swst.att.com[135.70.112.166]) by maillennium.att.com (mailgw1) with ESMTP id <20101014024626gw100ei18be> (Authid: tony); Thu, 14 Oct 2010 02:46:27 +0000
X-Originating-IP: [135.70.112.166]
Message-ID: <4CB66F01.9040504@att.com>
Date: Wed, 13 Oct 2010 22:46:25 -0400
From: Tony Hansen <tony@att.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1
MIME-Version: 1.0
To: Sieve mailing list <sieve@ietf.org>
References: <AANLkTik994DjP7T7tj-VzJQ4J1nAgtq4hTdj5ZFQ-h=u@mail.gmail.com> <4CB4F39A.8040806@att.com> <01NSZ2PTFXCI000CVY@mauve.mrochek.com> <AANLkTi=4K21-vdL3B2jQ95QvF2JjZPKLqBS93HRU8R3X@mail.gmail.com>
In-Reply-To: <AANLkTi=4K21-vdL3B2jQ95QvF2JjZPKLqBS93HRU8R3X@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Subject: Re: [sieve] Working Group Last Call: draft-ietf-sieve... autoreply, notify-presence, vacation-seconds
X-BeenThere: sieve@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SIEVE Working Group <sieve.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sieve>, <mailto:sieve-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sieve>
List-Post: <mailto:sieve@ietf.org>
List-Help: <mailto:sieve-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sieve>, <mailto:sieve-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Oct 2010 02:45:27 -0000

On 10/13/2010 9:55 AM, Barry Leiba wrote:
>> =======
>> notify-presence
>>
>> The value of "unknown" should be explicity listed in section 2 for each
>> item that can return that value, rather than being mentioned in passing
>> at the end of section 2.
>>      
> I don't agree; "unknown" isn't a value of the presence, but an
> artifact of retrieving it; I think it's worth keeping that separate.
> Would you be happier (I think I would) if I moved it up?  My working
> copy now has this as the second paragraph, just before the list:
>
>     This document defines a set of items of notification presence, which
>     may be specified in the notification-capability parameter.  The
>     script tests the values of notification presence items in the key-
>     list parameter.  The values that each item may have are specified in
>     the list below; in addition, any item may have the value "unknown",
>     if it is not possible to determine the correct value of the item.
>    

I disagree. For example, under show it says:

	The value of this item is one of the following:

That certainly includes "unknown".

I think it's just easier to include

	unknown - the correct value could not be determined

in the appropriate places.


>>> I think it would be worth putting a note in somewhere that an
>>> implementation may wish to cache the results of a call to
>>> notify_method_capability so that if it is used in a series of if/else
>>> tests, it only needs to be retrieved once.
>>>        
>> Now that you bring this up, I'm tempted to go even further, and say that any
>> result should be consistent throughout the script. If statuses change and
>> notify_method_capability returns inconsistent results at different times in
>> the same script, I could see that causing some unpleasant results.
>>      
> I like Ned's suggestion, and I will add that.  My working copy now has
> this as the third paragraph, just before the list:
>
>     If a particular presence item is tested multiple times within the
>     same script execution context, implementations MUST present the same
>     value each time (for example, by caching the value on first use).
>     This provides consistency within a single execution.
>
> Please let me know if you guys are happy with these changes, and I'll
> post a revision.
>    
+1

     Tony