Mark spam messages as seen
This commit is contained in:
@@ -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";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user