mirror of
https://github.com/optim-enterprises-bv/Mailu.git
synced 2025-11-02 11:08:01 +00: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