aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2013-05-13 16:23:37 -0400
committerRyan Kavanagh <rak@debian.org>2013-05-13 16:24:25 -0400
commit862a82b8033e7fc3564e45e870a8e8f582f35e5a (patch)
treeed6586aa747bbe878d4984abcd74d11283a9d37c
parentUpdate known_hosts files (diff)
Filter out PLV mail
-rw-r--r--.imapfilter/config.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/.imapfilter/config.lua b/.imapfilter/config.lua
index 23affbc..bb6f580 100644
--- a/.imapfilter/config.lua
+++ b/.imapfilter/config.lua
@@ -269,6 +269,12 @@ IMAPFILTER_GMAIL_SERVER.INBOX:move_messages(IMAPFILTER_GMAIL_SERVER['InternshipI
beldev = IMAPFILTER_GMAIL_SERVER.INBOX:match_to('beluga-dev@cs.mcgill.ca')
IMAPFILTER_GMAIL_SERVER.INBOX:move_messages(IMAPFILTER_GMAIL_SERVER['InternshipIMAP_FOLDER_SEPbeluga-dev'], beldev)
+-- MIT under GMAIL
+
+mitplv = IMAPFILTER_GMAIL_SERVER.INBOX:contain_field('List-Id', 'plv.csail.mit.edu') *
+ IMAPFILTER_GMAIL_SERVER.INBOX:is_seen()
+IMAPFILTER_GMAIL_SERVER.INBOX:move_messages(IMAPFILTER_GMAIL_SERVER['GMAILIMAP_FOLDER_SEPMIT'], mitplv)
+
-- Academia
typesann = IMAPFILTER_GMAIL_SERVER.INBOX:contain_field('List-Id', 'types-announce.lists.seas.upenn.edu')