Re: [sieve] On "reject" and :fcc

Bron Gondwana <brong@fastmail.fm> Wed, 18 January 2017 00:21 UTC

Return-Path: <brong@fastmail.fm>
X-Original-To: sieve@ietfa.amsl.com
Delivered-To: sieve@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A2F3312940F for <sieve@ietfa.amsl.com>; Tue, 17 Jan 2017 16:21:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.72
X-Spam-Level:
X-Spam-Status: No, score=-2.72 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=fastmail.fm header.b=TRapOMkY; dkim=pass (1024-bit key) header.d=messagingengine.com header.b=PBr1XK6u
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1vXrqeU47Q8x for <sieve@ietfa.amsl.com>; Tue, 17 Jan 2017 16:21:22 -0800 (PST)
Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5045F129408 for <sieve@ietf.org>; Tue, 17 Jan 2017 16:21:22 -0800 (PST)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id BF8A3206EA; Tue, 17 Jan 2017 19:21:21 -0500 (EST)
Received: from web4 ([10.202.2.214]) by compute6.internal (MEProxy); Tue, 17 Jan 2017 19:21:21 -0500
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=zjQoPSCc3zE8OXsaPiWCd5VA/H Y=; b=TRapOMkY2LpxG6TEM+PjXV8B07+aLv0Tlg2hrVq9TbIf7zzv4UUZKzoilb Y5HpJibBv+0hMjcpyjyUk4yVvYPqSDxNsY+mM9UJK6AglQacFA9EzmOkTmhYH6Fz sw0kc3KEEs3Ka4OcAF6//M67khF+yH59F8v8I41jpVoKRs9/M=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=smtpout; bh=zj QoPSCc3zE8OXsaPiWCd5VA/HY=; b=PBr1XK6uf9/FLBJ5HXSy+6lBbS1xFRDXbO f6z6nMExO0h+IDV6HEpqFlPdBjRCg+CU7VK2ntQhcj5A1SwuUnibpb+nJOCVeX/X NJtV8AA8RBBSpFDS6zvuqTHdmY1V7fnbMyQtJ3NrOCXLT41KQPVj1D51n74LDNe6 EKPHzKCZM=
X-ME-Sender: <xms:AbV-WJLYXwsYkECILkWMgnkkD-E8GRNCMobXVXNtqyP0llwEuJR4gg>
Received: by mailuser.nyi.internal (Postfix, from userid 99) id 9D2C8BAB48; Tue, 17 Jan 2017 19:21:21 -0500 (EST)
Message-Id: <1484698881.2689745.851047760.743150E6@webmail.messagingengine.com>
From: Bron Gondwana <brong@fastmail.fm>
To: Ned Freed <ned.freed@mrochek.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="utf-8"
X-Mailer: MessagingEngine.com Webmail Interface - ajax-fd047210
References: <1484691459.1802986.850940944.17135021@webmail.messagingengine.com> <01Q9SN4A5CB400004H@mauve.mrochek.com> <1484695748.520887.851011408.2EB11064@webmail.messagingengine.com> <01Q9SP1R5AP200004H@mauve.mrochek.com>
In-Reply-To: <01Q9SP1R5AP200004H@mauve.mrochek.com>
Date: Wed, 18 Jan 2017 11:21:21 +1100
Archived-At: <https://mailarchive.ietf.org/arch/msg/sieve/rd_y4qWGEaTlRNL2QAoVQP4WcXc>
Cc: sieve@ietf.org
Subject: Re: [sieve] On "reject" and :fcc
X-BeenThere: sieve@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SIEVE Working Group <sieve.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sieve>, <mailto:sieve-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/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, 18 Jan 2017 00:21:23 -0000

On Wed, 18 Jan 2017, at 10:43, Ned Freed wrote:
> > > Then keep a record of the rejection for the user, as opposed to keeping a copy
> > > of the message that was rejected. Indeed, if you're going to keep track
> > > of all rejections you have to allow for this in order to deal with
> > > rejections that occur before the message transferred.
> 
> > OK, I see where the misunderstanding has come from. What I'm proposing is
> > keeping a copy of the rejection. Basically the user wants a copy of every email
> > sent on their behalf.
> 
> When a Sieve ereject/reject occurs prior to delivery, and circumstances require
> the use of a message as opposed to an SMTP status code, use of a DSN is
> required. RFC 5429, section 2.1.2:
> 
>    In this case, the server MUST accept the message and generate DSNs for
>    all recipients that are refusing it. 
> 
> And DSNs are effectively required to contain at least a portion of
> the rejected message. (There's an exception for DSNs generated by
> gateways to foreign mail systems, but it clearly doesn't apply here.)
> 
> Like it or not, these DSNs are "messages sent on [the users] behalf", and
> they absolutely do contain part or all of the rejected message.
> 
> > So as discovered above, we're talking past each other. I just want to keep a
> > copy of the rejection that was sent out by sieve on the user's behalf.
> 
> And such messages can and often do contain part or all of the original
> message, creating exactly the issue I've been talking about.

So we're back to this then.  Do you also object to websites saying "404 not found"
while still logging the fact that you tried to look at a resource?

Sometimes you want to keep the junk that was sent to you while saying to the
sender that nobody got that message.  Making that hard within the standard will
just cause people to work around it by doing things like capturing all mail that
hits the MXes before sieve processes it.  Not providing a facility because it can be
used to lie doesn't change that.

Bron.

-- 
  Bron Gondwana
  brong@fastmail.fm