Re: Working Group Last Call for draft-ietf-sieve-refuse-reject-00.txt

Kjetil Torgrim Homme <kjetilho@ifi.uio.no> Fri, 19 August 2005 00:16 UTC

Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j7J0GkNN095405; Thu, 18 Aug 2005 17:16:46 -0700 (PDT) (envelope-from owner-ietf-mta-filters@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j7J0Gk3W095404; Thu, 18 Aug 2005 17:16:46 -0700 (PDT)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-mta-filters@mail.imc.org using -f
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j7J0GjHZ095396 for <ietf-mta-filters@imc.org>; Thu, 18 Aug 2005 17:16:46 -0700 (PDT) (envelope-from kjetilho@ifi.uio.no)
Received: from mail-mx2.uio.no ([129.240.10.30]) by pat.uio.no with esmtp (Exim 4.43) id 1E5uYs-00051S-8x; Fri, 19 Aug 2005 02:16:42 +0200
Received: from 250.80-203-78.nextgentel.com ([80.203.78.250] helo=chico.njus.no) by mail-mx2.uio.no with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.43) id 1E5uYp-0000e9-HM; Fri, 19 Aug 2005 02:16:39 +0200
Subject: Re: Working Group Last Call for draft-ietf-sieve-refuse-reject-00.txt
From: Kjetil Torgrim Homme <kjetilho@ifi.uio.no>
To: "Mark E. Mallett" <mem@mv.mv.com>
Cc: IETF MTA Filters List <ietf-mta-filters@imc.org>
In-Reply-To: <20050818190636.GL21465@osmium.mv.net>
References: <FF47B65677F611C47F8FC103@ninevah.cyrusoft.com> <20050818190636.GL21465@osmium.mv.net>
Content-Type: text/plain
Date: Fri, 19 Aug 2005 02:16:33 +0200
Message-Id: <1124410593.959.30.camel@chico.njus.no>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4)
Content-Transfer-Encoding: 7bit
X-UiO-Spam-info: not spam, SpamAssassin (score=-3.702, required 12, autolearn=disabled, AWL 1.11, FORGED_RCVD_HELO 0.05, RCVD_IN_SORBS_DUL 0.14, UIO_MAIL_IS_INTERNAL -5.00)
Sender: owner-ietf-mta-filters@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-mta-filters/mail-archive/>
List-ID: <ietf-mta-filters.imc.org>
List-Unsubscribe: <mailto:ietf-mta-filters-request@imc.org?body=unsubscribe>

On Thu, 2005-08-18 at 15:06 -0400, Mark E. Mallett wrote:
> Basically:
> 
>    reject [:discard/:keep/:notify] "reason";
> 
> where with no tagged argument, 5xx at SMTP time is done if possible, and
> if not possible, a site-imposed default action would be taken (which
> might be either "discard" or "keep" or "send a notification").

I would prefer an option to make reject "stop" if successful, so you
could simply do:

   reject :refuse :stop "Don't send e-mail to this address";
   fileinto "INBOX.old-address";
   stop;

seems easier than to add all possible actions as options to reject :-).
clearly this requires a small change to the following text:

   Implementations SHOULD prohibit reject when used with other
   actions.

a reject without :refuse would always be successful, since it does best
effort: SMTP time or send bounce message.

we might not need a :stop, we could make :refuse work that way always,
but I think it is better to be explicit about it.

> Drawbacks of a unified approach that I can think of:
> 
>  - Any new syntax would have to be enabled via a new capability.  Here,
>    I would say that ' require "refuse"; ' would enable the new syntax,
>    but the new behavior (i.e., of attempting to turn away the message at
>    SMTP time, with site-specific fallback action) would not require the
>    new capability.  The new behavior would simply be specified in this
>    draft.

right.  I don't see how this is a drawback?  a capability which implies
another would be a first for Sieve, but I think it is a natural thing to
do.

>  - If a Sieve script is invoked when "RCPT TO" is seen, various other
>    Sieve facilities are not available (header tests, fileinto, etc).
>    There may be a need for the script writer to be aware of this.  But I
>    think that can be solved in ways outside the script itself, and this
>    problem is also present in the other approach as well.

this problem isn't specific to the unified approach.

> In the event that I am just whistling in the wind here, I also have
> comments on the actual draft... see next rock.

well, I agree with your views, at least.
-- 
Kjetil T.