From c379884be075b1f556ab41e4c35b50275bae4090 Mon Sep 17 00:00:00 2001 From: Evangelos Foutras Date: Tue, 17 May 2022 16:17:28 +0300 Subject: [PATCH] dovecot: enable the duplicate Sieve extension Useful for preventing message duplication when the recipient is also part of an alias included in Cc (e.g. foutrelis@ + infrastructure@). --- roles/dovecot/templates/dovecot.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/dovecot/templates/dovecot.conf.j2 b/roles/dovecot/templates/dovecot.conf.j2 index 571ca478..4cc04689 100644 --- a/roles/dovecot/templates/dovecot.conf.j2 +++ b/roles/dovecot/templates/dovecot.conf.j2 @@ -40,7 +40,7 @@ plugin { sieve = ~/.dovecot.sieve sieve_dir = ~/.sieve # fileinto and mailbox is required by the global spam-to-folder.sieve script - sieve_extensions = envelope fileinto imap4flags mailbox regex variables + sieve_extensions = duplicate envelope fileinto imap4flags mailbox regex variables sieve_global_dir = /etc/dovecot/sieve/global/ sieve_global_path = /etc/dovecot/sieve/default.sieve sieve_before = /etc/dovecot/sieve/spam-to-folder.sieve