On 2012-02-22 8:15 PM, Stephan Bosch <step...@rename-it.nl> wrote:
* I've just created an alternative that implements something similar to
the Procmail code you posted above, but from within Sieve itself. It is
a custom language extension called vnd.dovecot.duplicate and it adds the
"duplicate" test. This test keeps track of which Message-IDs it has seen
before in earlier deliveries and yields a true result if the message was
seen before, e.g.:

require "vnd.dovecot.duplicate";

if duplicate {
     discard;
}

Interesting... I'll have to look into this later to see how it might be leveraged only for deduplicating mailing list messages (suppress duplicate messages when someone is a member of multiple lists that are members of other lists - I use mailman currently).

--

Best regards,

Charles

Reply via email to