Re: action reject and smtp RCPT TO:

Дилян Палаузов <Dilyan.Palauzov@aegee.org> Mon, 03 March 2008 16:07 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 4B09028C3AD for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Mon, 3 Mar 2008 08:07:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.746
X-Spam-Level:
X-Spam-Status: No, score=-1.746 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, MIME_8BIT_HEADER=0.3]
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 5BsE-VRMigqi for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Mon, 3 Mar 2008 08:07:43 -0800 (PST)
Received: from balder-227.proper.com (Balder-227.Proper.COM [192.245.12.227]) by core3.amsl.com (Postfix) with ESMTP id 13FA328C3D0 for <sieve-archive-Aet6aiqu@ietf.org>; Mon, 3 Mar 2008 08:04:56 -0800 (PST)
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id m23FsWOE041621 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 3 Mar 2008 08:54:32 -0700 (MST) (envelope-from owner-ietf-mta-filters@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id m23FsWsD041620; Mon, 3 Mar 2008 08:54:32 -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 smtp.aegee.uni-karlsruhe.de (smtp.aegee.uni-karlsruhe.de [129.13.60.220]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id m23FsTp9041603 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <ietf-mta-filters@imc.org>; Mon, 3 Mar 2008 08:54:31 -0700 (MST) (envelope-from Dilyan.Palauzov@aegee.org)
Received: from smtp.aegee.org (aegeeserv.aegee.uni-karlsruhe.de [129.13.131.80]) by smtp1.rz.uni-karlsruhe.de with esmtp (Exim 4.63 #1) id 1JWCzj-0005Qf-S5; Mon, 03 Mar 2008 16:54:27 +0100
X-Mail-Sent-By-AEGEE.org-Account: didopalauzov
Received: from [192.168.1.14] (d83-181-67-131.cust.tele2.de [83.181.67.131]) (authenticated bits=0) by smtp.aegee.org (8.14.2/8.13.6) with ESMTP id m23FsV3C003595 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 3 Mar 2008 15:54:33 GMT
Message-ID: <47CC1F32.8000608@aegee.org>
Date: Mon, 03 Mar 2008 16:54:26 +0100
From: Дилян Палаузов <Dilyan.Palauzov@aegee.org>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
To: Ned Freed <ned.freed@mrochek.com>
CC: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>, ietf-mta-filters@imc.org
Subject: Re: action reject and smtp RCPT TO:
References: <FEBA698A54011EC81F4A1609@caldav.corp.apple.com> <21C5556C51FE0FCA0D6008C5@ninevah.local> <01MR7P2PA4FO00004Z@mauve.mrochek.com> <47B34E7B.2070300@aegee.org> <1203006439.25161.83.camel@oslhomkje> <47C99CFD.6010208@aegee.org> <01MRYB6E206U000RLZ@mauve.mrochek.com> <kfU0rHTCtRBPBX/KjYNAVg.md5@libertango.oryx.com> <01MRZ52JMY3C000RLZ@mauve.mrochek.com>
In-Reply-To: <01MRZ52JMY3C000RLZ@mauve.mrochek.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: ClamAV 0.92.1/6093/Mon Mar 3 15:03:18 2008 on AEGEEserv.aegee.uni-karlsruhe.de
X-Virus-Status: Clean
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>

	Hello,

	I think draft-ietf-sieve-refuse-reject-06 implicitly forbids sending 
550 after RCPT. In Section 2.1 (Action ereject) the SMTP 550 way is 
shifted to Section 2.1.1 (Rejecting a message at the SMTP/LMTP protocol 
level) and Section 2.1.1 shifts the problem to Section 2.1.2 (Rejecting 
a message by sending a DSN). Or may be I am wrong?

	About the spamtest issue: it shall be evaluated after data. If I 
remember correctly, there was an idea to extend the envelope test to 
check against the sending host (apart from sender and recipient) and 
check using external lists if the sending host is blacklisted. Then the 
mail can be rejected according to the user's preferences and not due the 
site policy. Can we leave for now spamtest out the discussion?

	The idea of the early evaluation in multi-recipient messages is to 
reduce the amount of generated NDRs, when some of the recipients are 
mailboxes (accept spam) and others are mailing lists (who do not want to 
discard messages from non list members, ignoring the spaminess). The 
problem with NDRs is that they might end in a spamtrap/honeypot and 
blacklist your server. With early evaluation all this is avoided... And 
once again: does draft-ietf-sieve-refuse-reject-06 forbid this behaviour?

 > FWIW: My sieve interpreter does exactly what we're (not) allowing: I
 > fetch the sieve script as part of verifying that the rcpt to address
 > exists, and evaluate until some test fails for lack of data. I think
 > the draft as it stands is fine.

I think this is wrong, as it does not allow combining keep and reject. 
The reject action shall be executed after RCPT TO:, if the script 
terminated successfully (= reached <EOF> or stop; without making 
header/body tests, or invoking the keep action) being executed there.

	Със здраве,
		Дилян