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