bundlewrap/bundles/dovecot/files/spam-global.sieve

11 lines
207 B
Sieve

require ["fileinto", "imap4flags"];
if header :contains "X-Spam-Flag" "YES" {
setflag "\\seen";
fileinto "Junk";
}
if header :contains "X-Spam" "Yes" {
setflag "\\seen";
fileinto "Junk";
}