1
0
forked from infra/ansible

mail: mark spam as read

This commit is contained in:
Markus 2023-02-28 17:52:38 +01:00
parent 4103a23f48
commit 837c9fc20a

View File

@ -1,5 +1,6 @@
require ["fileinto","mailbox"];
require ["fileinto", "imap4flags", "mailbox"];
if header :contains "X-Spam" "Yes" {
addflag "\\Seen";
fileinto "Junk";
}