action reject and smtp RCPT TO:

Дилян Палаузов <Dilyan.Palauzov@aegee.org> Wed, 13 February 2008 20:19 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 E2BF63A6FD7 for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Wed, 13 Feb 2008 12:19:20 -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 U81qEkaW6x6O for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Wed, 13 Feb 2008 12:19:20 -0800 (PST)
Received: from balder-227.proper.com (Balder-227.Proper.COM [192.245.12.227]) by core3.amsl.com (Postfix) with ESMTP id 223ED3A67CF for <sieve-archive-Aet6aiqu@ietf.org>; Wed, 13 Feb 2008 12:18:49 -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 m1DK9btx031865 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Feb 2008 13:09:37 -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 m1DK9buQ031864; Wed, 13 Feb 2008 13:09: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 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 m1DK9ZtA031852 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <ietf-mta-filters@imc.org>; Wed, 13 Feb 2008 13:09:36 -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 1JPNv9-0000Js-9K; Wed, 13 Feb 2008 21:09:31 +0100
X-Mail-Sent-By-AEGEE.org-Account: didopalauzov
Received: from [129.13.227.228] (vpnwwwext.rz.uni-karlsruhe.de [129.13.72.177]) (authenticated bits=0) by smtp.aegee.org (8.14.2/8.13.6) with ESMTP id m1DK9VXT017637 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Feb 2008 20:09:32 GMT
Message-ID: <47B34E7B.2070300@aegee.org>
Date: Wed, 13 Feb 2008 21:09:31 +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: Cyrus Daboo <cyrus@daboo.name>, SIEVE <ietf-mta-filters@imc.org>
Subject: action reject and smtp RCPT TO:
References: <FEBA698A54011EC81F4A1609@caldav.corp.apple.com> <21C5556C51FE0FCA0D6008C5@ninevah.local> <01MR7P2PA4FO00004Z@mauve.mrochek.com>
In-Reply-To: <01MR7P2PA4FO00004Z@mauve.mrochek.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: ClamAV 0.92.1/5802/Wed Feb 13 19:15:41 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,

If sieve scripts are written in the form:

if (envelope tests....) { reject; stop;}
some other tests and actions;

the scripts can be applied once after the RCPT TO: command and once 
after the DATA command. If the first script calling is successful (stop; 
is reached without trying tests, that require headers or body), and the 
reject action is performed, then the sieve script can reject the message 
at the RCPT TO: level.

The application of such scripts is, e.g. for mailing lists, with scripts 
like

	if (recipient is a mailing list and sender is not allowed to post 
there) {reject; stop;}

which will save the consequent NDRs, send from the mailing list 
software. This approach is not considered in 
draft-ietf-sieve-refuse-reject-06, 2.2 Action reject...However 
implementations MAY refuse delivery over protocol ..., if and only if 
all of the following conditions are true:  2. ...

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