1
0
forked from infra/ansible
infra/roles/mail/files/dovecot/move-spam.sieve

7 lines
124 B
Sieve
Raw Normal View History

2023-02-28 17:52:38 +01:00
require ["fileinto", "imap4flags", "mailbox"];
if header :contains "X-Spam" "Yes" {
2023-02-28 17:52:38 +01:00
addflag "\\Seen";
fileinto "Junk";
}