Mark spam messages as seen
parent
1537ea4834
commit
38cfc3c611
@ -1,5 +1,6 @@
|
|||||||
require ["fileinto", "envelope", "mailbox"];
|
require ["fileinto", "envelope", "mailbox", "imap4flags"];
|
||||||
|
|
||||||
if header :contains "X-Spam" "YES" {
|
if header :contains "X-Spam" "YES" {
|
||||||
fileinto :create "Junk";
|
fileinto :create "Junk";
|
||||||
|
setflag "\\seen";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue