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

12 lines
209 B
Sieve
Raw Normal View History

2020-11-07 21:31:47 +00:00
require ["fileinto", "imap4flags"];
if header :contains "X-Spam-Status" "Yes" {
2020-11-07 21:31:47 +00:00
setflag "\\seen";
fileinto "Junk";
}
if header :contains "X-Spam" "Yes" {
setflag "\\seen";
fileinto "Junk";
}