Re: [sieve] New Version Notification for draft-george-sieve-vacation-time-00

NED+mta-filters@mauve.mrochek.com Thu, 04 February 2010 05:24 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 C7CC43A6C9F for <sieve@core3.amsl.com>; Wed, 3 Feb 2010 21:24:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[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 BrTCMkgYm5fy for <sieve@core3.amsl.com>; Wed, 3 Feb 2010 21:24:13 -0800 (PST)
Received: from mauve.mrochek.com (mauve.mrochek.com [66.59.230.40]) by core3.amsl.com (Postfix) with ESMTP id CF12C3A6B91 for <sieve@ietf.org>; Wed, 3 Feb 2010 21:24:12 -0800 (PST)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01NJ8NX5IX2O00CHPO@mauve.mrochek.com> for sieve@ietf.org; Wed, 3 Feb 2010 21:24:54 -0800 (PST)
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01NJ8I0XDQQO004042@mauve.mrochek.com> (original mail from NED@mauve.mrochek.com) for sieve@ietf.org; Wed, 03 Feb 2010 21:24:51 -0800 (PST)
From: NED+mta-filters@mauve.mrochek.com
Message-id: <01NJ8NX41PDW004042@mauve.mrochek.com>
Date: Wed, 03 Feb 2010 19:58:38 -0800
In-reply-to: "Your message dated Wed, 03 Feb 2010 16:18:45 -0500" <6c9fcc2a1002031318l3b5afddoa895e292fadb0ff6@mail.gmail.com>
MIME-version: 1.0
Content-type: TEXT/PLAIN
References: <20100130143437.BBE563A683B@core3.amsl.com> <9abf48a61001300646g712fe589uceff1033063c71cd@mail.gmail.com> <4B6984EC.1040807@aegee.org> <4B6989FA.6080206@gulbrandsen.priv.no> <6c9fcc2a1002031318l3b5afddoa895e292fadb0ff6@mail.gmail.com>
To: Barry Leiba <barryleiba.mailing.lists@gmail.com>
Cc: sieve@ietf.org
Subject: Re: [sieve] New Version Notification for draft-george-sieve-vacation-time-00
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, 04 Feb 2010 05:24:13 -0000

> > I like it. Will implement.

Well, to be honest, we implemented :hours not long after vacation was specified
in order to be able to replace an existing LDAP-based autoreply facility.
Adding :seconds is of course quite doable for us as well, so this seems like a
perfectly reasonable extension to me.

> Cool.

> > I agree that :seconds is better than :time.

> Me, too.  I thought about that when I submitted it, but wound up
> sticking with "time".  On the queue for changing.

Agreed. Do we also want to change the extension name to, say, vacation-seconds?
I'd prefer the change over the original but would be OK with either name.

> > IMO, if a script requires vacation-time but not vacation, that's an error
> > and the managesieve may reject the script, or the runtime may fail it.

> I agree, and that's what I said to Dilyan when he mentioned that to me
> privately.  But I also suggested that he post it to the mailing list,
> to see what others think.

Well, the obvious existing model for this sort  of thing is spamtest and
spamtestplus. In that case specifying spamtestplus implicitly sets spamtest.
The rationale, as I recall, is that since spamtestplus makes no sense
without spamtest, why make the require clause even longer than it needs to be?

if there's a reason not to follow that approach here I don't see it.

That said, if we decide that vacation-time (or whatever we call it) not
implicitly set vacation, I'd be opposed to having vacation-time by itself be an
error. I see no harm in saying require "vacation-test" by itself as long as
there's no use of vacaation in the script.

> Dilyan says...
> > State that replies are sent by default with "From" as the envelope
> > recipient (when feasible) currently receiving the message.

> No; this draft will make no incompatible changes to the base Vacation protocol.
> Unless, of course, the working group really wants to.

First of all, since Sieves aren't always evaluated by SMTP servers prior to
final delivery and may in fact be evaluated by MUAs after final delivery, the
envelope recipient address may not be available for use in this way. As such,
we cannot possibly impose such a requirement without also restricting the
domain within which the extension can be used, probably to an unacceptable
degree.

In any case, RFC 5230 section 5.5 says:

   Unless explicitly overridden with a :from parameter, the From field
   SHOULD be set to the address of the owner of the Sieve script.

This language was chosen for a reason: The neceessary information is always
available, and in most cases is the same as the envelope recipient.

In cases where a Sieve owner has multiple addresses I understand the desire
for the message to come from whatever address the originator used in order
to lessen confusion, but the reality is that such a requirement cannot possibly
be met. In addition to the MUA case where the actual recipient address is
often no longer available, there's also the case where a message has been
forwarded through one or more aliases, possibly including aliases outside
the administrative domain. So even tricks like:

   require ["envelope", "vacation", "variables"];
   if envelope :matches "to" "*" {set "rcptto" "${0}";}
   else {set "rcptto"" "error@error";}
   vacation :from "${rcptto}" ...

which would meet the technical MUST being proposed (by using an extension often
isn't available in an MUA implementation) but doesn't actually address what I
believe is the underling intent of the requirement.

The bottom line is that this is a can of worms I'd really rather not open.

> The other question is if the working group will adopt this.  Should
> the updated version (changing "time" to "seconds") become
> draft-ietf-sieve-vacation-seconds-00 ?

WFM.

				Ned