Re: draft-ietf-sieve-refuse-reject-07.txt

Ned Freed <ned.freed@mrochek.com> Fri, 30 May 2008 01:39 UTC

Return-Path: <owner-ietf-mta-filters@mail.imc.org>
X-Original-To: ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com
Delivered-To: ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5E77428C1B7 for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Thu, 29 May 2008 18:39:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.04
X-Spam-Level:
X-Spam-Status: No, score=-0.04 tagged_above=-999 required=5 tests=[AWL=0.022, BAYES_00=-2.599, FH_HOST_EQ_D_D_D_D=0.765, HOST_EQ_STATIC=1.172, J_CHICKENPOX_65=0.6]
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 OEcZqjSBuPjq for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Thu, 29 May 2008 18:39:33 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2]) by core3.amsl.com (Postfix) with ESMTP id 7FCC228C1B5 for <sieve-archive-Aet6aiqu@ietf.org>; Thu, 29 May 2008 18:39:32 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m4U1Ubuu028971 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 May 2008 18:30:37 -0700 (MST) (envelope-from owner-ietf-mta-filters@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m4U1UbBB028970; Thu, 29 May 2008 18:30:37 -0700 (MST) (envelope-from owner-ietf-mta-filters@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-mta-filters@mail.imc.org using -f
Received: from mauve.mrochek.com (dsl-66-59-230-40.static.linkline.com [66.59.230.40]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m4U1UZBK028953 for <ietf-mta-filters@imc.org>; Thu, 29 May 2008 18:30:36 -0700 (MST) (envelope-from ned.freed@mrochek.com)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01MVDCMK0WQO0080GF@mauve.mrochek.com> for ietf-mta-filters@imc.org; Thu, 29 May 2008 18:30:33 -0700 (PDT)
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01MV7JDMH5W000007A@mauve.mrochek.com>; Thu, 29 May 2008 18:30:29 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=nowsp; d=mrochek.com; s=mauve; t=1212111032; h=Date: From:Subject:MIME-version:Content-type; b=Hk++iscxyF0wErmRTAdfXitnp qSCURhe26kwEtikRt28Ps0ijMiH64SeVmP9iA6gl+99VwiDAg6Trzl+TvJ0dg==
Date: Thu, 29 May 2008 17:32:10 -0700
From: Ned Freed <ned.freed@mrochek.com>
Subject: Re: draft-ietf-sieve-refuse-reject-07.txt
In-reply-to: "Your message dated Fri, 30 May 2008 00:06:15 +0100" <6988.1212102375.373214@peirce.dave.cridland.net>
To: Dave Cridland <dave@cridland.net>
Cc: Ned Freed <ned.freed@mrochek.com>, ietf-mta-filters@imc.org, Matthew Elvey <matthew@elvey.com>
Message-id: <01MVDCMICEYC00007A@mauve.mrochek.com>
MIME-version: 1.0
Content-type: TEXT/PLAIN; delsp="yes"; format="flowed"
Content-transfer-encoding: 7bit
References: <483DF7E2.6010003@elvey.com> <01MVD1127UIE00007A@mauve.mrochek.com> <6988.1212102375.373214@peirce.dave.cridland.net>
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 May 29 17:22:46 2008, Ned Freed wrote:
> > (1) is only appropriate if the MAIL FROM is emoty, NOTIFY=NEVER is
> > in effect,
> > the MAIL FROM Is somehow known to be forged. That leaves generating
> > a DSN as the only viable alternative in most cases.

> As a brief aside - I agree with both Matthew's aims here and Ned's
> conclusions - it did occur to me that a (possibly LMTP specific)
> response code of some form which indicated both that the mail was
> rejected as was strongly considered to be forged (or otherwise not
> worthwhile to send a DSN for) might be a possibility, although not
> for this document or even working group.

> I suspect that using a 2xx in this case might be best, since it would
> become a "discard", in effect, if the LMTP client didn't understand
> it, and the additional bandwidth and processing for LMTP connections
> is negligable. For SMTP, a 4xx might be more sensible, which would
> reduce the bandwidth, but not generate a DSN instantly.

I pretty much agree with all of this, but now let's take it to the logical
conclusion: If the script has determined that this is probable spam and doesn't
want a response sent, why why not use the guaranteed-to-be-present discard
instead rather than employing the optional-and-doesn't-do-what-you-want
ereject?

The main reason I can think of for wanting to use ereject is that in some sense
it offers a way to log *why* the message was thrown away. But if that's the
goal, surely an extension that allows a <reason> argument to be given to
discard is the better answer. In the LMTP server case this could translate
into sending back a "2yx 5.a.b message discarded because ..." sort of response.

This is why I suggested adding text to the draft saying that these actions are
seriously suboptimal as a means of dealing with spam. I think a little care in
the use of these actions will go a lot further than racketing up the compliance
language further and further. 

				Ned