Global duplicate filtering via Sieve

Tom Hendrikx tom at whyscream.net
Thu Sep 6 11:49:13 EEST 2018


On 05-09-18 13:53, Hanno Stock wrote:
> Hi everybody,
> 
> I have the following problem:
> 
> Our mail users are receiving mails from externally defined mail
> forwardings and lists which sometimes leads to duplicate messages. As
> far as I understand, a single user can use the Sieve duplicate extension
> for filtering out such duplicate messages.
> 
> Would it be feasible to add a script with sieve_before that does this
> for all users?
> 
> Do scripts that run from sieve_before store persistent data also on a
> per-user basis, i.e. in the user's home dir?

sieve_before is a global parameter to define a script that is ran for
all users. It still runs in the context of a user (or more correct: in
the context of a mailbox).

If you want to enable deduplication of messages within the context of a
single mailbox for all your users, then sieve_before is a good way to
achieve this.

> 
> Thanks for your help!
> 
> Best regards
> 
> Hanno
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://dovecot.org/pipermail/dovecot/attachments/20180906/2fd04fa0/attachment.sig>


More information about the dovecot mailing list