forked from infra/ansible
mail: mark spam as read
This commit is contained in:
parent
4103a23f48
commit
837c9fc20a
@ -1,5 +1,6 @@
|
||||
require ["fileinto","mailbox"];
|
||||
require ["fileinto", "imap4flags", "mailbox"];
|
||||
|
||||
if header :contains "X-Spam" "Yes" {
|
||||
addflag "\\Seen";
|
||||
fileinto "Junk";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user