Mark spam messages as seen

master
Pierre Jaury 9 years ago
parent 1537ea4834
commit 38cfc3c611

@ -1,5 +1,6 @@
require ["fileinto", "envelope", "mailbox"];
require ["fileinto", "envelope", "mailbox", "imap4flags"];
if header :contains "X-Spam" "YES" {
fileinto :create "Junk";
setflag "\\seen";
}

Loading…
Cancel
Save