mail: mark spam as read

This commit is contained in:
Markus 2023-02-28 17:52:38 +01:00
parent 4103a23f48
commit 837c9fc20a
1 changed files with 2 additions and 1 deletions

View File

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