You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-08-10 22:31:47 +02:00
Fix #28, mark junk messages as read
This commit is contained in:
@@ -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";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user