Fix #28, mark junk messages as read
parent
49a1281976
commit
41f343b1da
@ -1,6 +1,6 @@
|
|||||||
require ["fileinto", "envelope", "mailbox", "imap4flags"];
|
require ["fileinto", "envelope", "mailbox", "imap4flags"];
|
||||||
|
|
||||||
if header :contains "X-Spam" "YES" {
|
if header :contains "X-Spam" "YES" {
|
||||||
fileinto :create "Junk";
|
|
||||||
setflag "\\seen";
|
setflag "\\seen";
|
||||||
|
fileinto :create "Junk";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue