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

7 lines
124 B
Sieve

require ["fileinto", "imap4flags", "mailbox"];
if header :contains "X-Spam" "Yes" {
addflag "\\Seen";
fileinto "Junk";
}