Deliver same E-Mail in same Mailbox only once ?

Alessio Cecchi alessio at skye.it
Thu Apr 21 06:47:56 UTC 2016


Il 20/04/2016 11:04, Thomas Leuxner ha scritto:
> * Christoph Adomeit <Christoph.Adomeit at gatworks.de> 2016.04.20 10:29:
>
>> Is there a way to deliver  the same Mail in the same Mailbox only once ?
>
> Yes this case is supported via an sieve extension:
>
> require ["duplicate"];
>
>
> #Deduplicate mails sent to aliases for same mailbox using the msgid
>
> if duplicate {
>        discard;
> }
>

Hi,

instead of discard I suggest to move the duplicate messagge in a folder:

if duplicate {
         fileinto "Trash";
}

so in case of necessity can be recovered.
-- 
Alessio Cecchi
Postmaster @ http://www.qboxmail.it
https://www.linkedin.com/in/alessice


More information about the dovecot mailing list