move the sieve script configuration to tools/mail.py

This commit is contained in:
Joshua Tauberer
2013-09-01 10:40:12 -04:00
parent 0c199b2e32
commit 7f63c199a6
6 changed files with 30 additions and 40 deletions
+8
View File
@@ -0,0 +1,8 @@
require ["regex", "fileinto", "imap4flags"];
if allof (header :regex "X-Spam-Status" "^Yes") {
setflag "\\\\Seen";
fileinto "Spam";
stop;
}