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

12 lines
207 B
Sieve
Raw Normal View History

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