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

NED+mta-filters@mauve.mrochek.com Wed, 13 October 2010 16:08 UTC

Return-Path: <NED+mta-filters@mauve.mrochek.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 0637D3A69BA for <sieve@core3.amsl.com>; Wed, 13 Oct 2010 09:08:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.299
X-Spam-Level:
X-Spam-Status: No, score=-2.299 tagged_above=-999 required=5 tests=[AWL=0.300, BAYES_00=-2.599]
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 wEgs1sS1PSpW for <sieve@core3.amsl.com>; Wed, 13 Oct 2010 09:08:45 -0700 (PDT)
Received: from mauve.mrochek.com (mauve.mrochek.com [66.59.230.40]) by core3.amsl.com (Postfix) with ESMTP id C485C3A67EA for <sieve@ietf.org>; Wed, 13 Oct 2010 09:08:45 -0700 (PDT)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01NSZZOY7UI8007MJM@mauve.mrochek.com> for sieve@ietf.org; Wed, 13 Oct 2010 09:09:56 -0700 (PDT)
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01NSI5YX1W0G000CVY@mauve.mrochek.com> (original mail from NED@mauve.mrochek.com) for sieve@ietf.org; Wed, 13 Oct 2010 09:09:52 -0700 (PDT)
From: NED+mta-filters@mauve.mrochek.com
Message-id: <01NSZZOW4PJ2000CVY@mauve.mrochek.com>
Date: Wed, 13 Oct 2010 09:09:07 -0700
In-reply-to: "Your message dated Wed, 13 Oct 2010 09:55:18 -0400" <AANLkTi=4K21-vdL3B2jQ95QvF2JjZPKLqBS93HRU8R3X@mail.gmail.com>
MIME-version: 1.0
Content-type: TEXT/PLAIN
References: <AANLkTik994DjP7T7tj-VzJQ4J1nAgtq4hTdj5ZFQ-h=u@mail.gmail.com> <4CB4F39A.8040806@att.com> <01NSZ2PTFXCI000CVY@mauve.mrochek.com> <AANLkTi=4K21-vdL3B2jQ95QvF2JjZPKLqBS93HRU8R3X@mail.gmail.com>
To: Barry Leiba <barryleiba@computer.org>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mrochek.com; s=mauve; t=1286984241; i=@mrochek.com; bh=yF0pmQaWgujj+k3u3JhuVTS9fMIN8WyY+Xs5OovZcfM=; h=From:Cc:Message-id:Date:Subject:In-reply-to:MIME-version: Content-type:References:To; b=iAdlZX41tQcrMBCIUSe4cqRWqwtpO20FHOipXfHZ3WtsQxRp9wCyaoIOB7TWE1agF ob4cJzUUdU/zhdrN7uO4rjHeIaQrrOv7Yh2ir8Gnzj7UU3COHVRkjhTN4MJwvd2BMd eQchLF9IFcXns+3QRTZUXU9f49bbX6WxbDMjsFL8=
Cc: Sieve mailing list <sieve@ietf.org>
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: Wed, 13 Oct 2010 16:08:47 -0000

> >> 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.

Sounds good to me.

				Ned