Re: [sieve] Duplicate test

Stephan Bosch <stephan@rename-it.nl> Sun, 20 January 2013 12:57 UTC

Return-Path: <stephan@rename-it.nl>
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 1231421F84E7 for <sieve@ietfa.amsl.com>; Sun, 20 Jan 2013 04:57:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.504
X-Spam-Level:
X-Spam-Status: No, score=-0.504 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VkuoMHK73kiM for <sieve@ietfa.amsl.com>; Sun, 20 Jan 2013 04:57:43 -0800 (PST)
Received: from drpepper.rename-it.nl (drpepper.rename-it.nl [217.119.238.16]) by ietfa.amsl.com (Postfix) with ESMTP id E648821F84DB for <sieve@ietf.org>; Sun, 20 Jan 2013 04:57:41 -0800 (PST)
Received: from klara.student.utwente.nl ([130.89.162.218]:57543 helo=[10.168.3.2]) by drpepper.rename-it.nl with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <stephan@rename-it.nl>) id 1TwuSu-0004nh-JC; Sun, 20 Jan 2013 13:57:38 +0100
Message-ID: <50FBE9B0.40209@rename-it.nl>
Date: Sun, 20 Jan 2013 13:57:20 +0100
From: Stephan Bosch <stephan@rename-it.nl>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
MIME-Version: 1.0
To: Alexey Melnikov <alexey.melnikov@isode.com>
References: <50F3F8C7.9030804@rename-it.nl> <50F72B63.3080004@isode.com>
In-Reply-To: <50F72B63.3080004@isode.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-RenameIT-MailScanner-SpamScore: -2.3 (--)
X-RenameIT-MailScanner-SpamCheck: No, score=-2.3 required=5.0 tests=ALL_TRUSTED, BAYES_00 autolearn=ham version=3.3.1
Cc: Sieve mailing list <sieve@ietf.org>
Subject: Re: [sieve] Duplicate test
X-BeenThere: sieve@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Sun, 20 Jan 2013 12:57:44 -0000

On 1/16/2013 11:36 PM, Alexey Melnikov wrote:
> On 14/01/2013 12:23, Stephan Bosch wrote:
>> Hi,
>>
>> A while back I built a non-standard Sieve extension for detecting 
>> duplicate message deliveries, e.g. as seen when people cross-post 
>> over multiple mailing lists. This functionality is very similar to 
>> what could be achieved with Procmail using formail -D. Someone 
>> requested this at some point and in a moment of boredom I built the 
>> initial implementation. Last year I extended it a bit and I made it 
>> more generic. I never intended for this to be standardized, but - now 
>> that I look at it again - I think this may yet be of some interest to 
>> other Sieve implementers as well.
>>
>> I make a habit of documenting my custom Sieve extensions in a 
>> familiar RFC-like manner:
>>
>> http://hg.rename-it.nl/dovecot-2.1-pigeonhole/raw-file/tip/doc/rfc/spec-bosch-sieve-duplicate.txt 
>>
>>
>> What do you think? Would you be interested in having functionality 
>> like this standardized? Should I submit this as a draft?
> I think this would be worth standardizing. Some comments on the document:
>
> 1). I think the text motivating existence of this extension needs a 
> bit of restructuring: it first introduces a very generic concept of 
> matching and only later it talks about duplicate suppression. I would 
> reverse that: describe some specific use cases first, then generalize.

Agreed. I'll revise that in the next version.

Regards,

Stephan.