1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-04-11 11:32:02 +02:00

Mark spam messages as seen

This commit is contained in:
Pierre Jaury 2016-06-05 19:28:08 +02:00
parent 1537ea4834
commit 38cfc3c611

View File

@ -1,5 +1,6 @@
require ["fileinto", "envelope", "mailbox"];
require ["fileinto", "envelope", "mailbox", "imap4flags"];
if header :contains "X-Spam" "YES" {
fileinto :create "Junk";
setflag "\\seen";
}