From 38cfc3c611b9384d195e216bfca63da35824dc99 Mon Sep 17 00:00:00 2001 From: Pierre Jaury Date: Sun, 5 Jun 2016 19:28:08 +0200 Subject: [PATCH] Mark spam messages as seen --- dovecot/sieve/after.sieve | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dovecot/sieve/after.sieve b/dovecot/sieve/after.sieve index 3026395b..4fb398ce 100644 --- a/dovecot/sieve/after.sieve +++ b/dovecot/sieve/after.sieve @@ -1,5 +1,6 @@ -require ["fileinto", "envelope", "mailbox"]; +require ["fileinto", "envelope", "mailbox", "imap4flags"]; if header :contains "X-Spam" "YES" { fileinto :create "Junk"; + setflag "\\seen"; }