aboutsummaryrefslogtreecommitdiff
path: root/.imapfilter
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2018-04-23 13:25:13 -0400
committerRyan Kavanagh <rak@debian.org>2018-04-23 13:27:01 -0400
commitbfc7c9fad5aea3b890e86233d48614d61e8292ac (patch)
tree576aa4c2a764c38ee91c50e885b400244a703b8b /.imapfilter
parentKinesis at work randomly switched ctrl/alt; fix (diff)
Fix beluga imapfilter
Diffstat (limited to '')
-rw-r--r--.imapfilter/config.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/.imapfilter/config.lua b/.imapfilter/config.lua
index 5afe316..73f5bf9 100644
--- a/.imapfilter/config.lua
+++ b/.imapfilter/config.lua
@@ -239,10 +239,10 @@ GMAIL.INBOX:move_messages(GMAIL['Queens' .. folder_sep .. 'SAIL'], qsail)
-- McGill
-belcom = GMAIL.INBOX:match_to('beluga-commit@cs.mcgill.ca')
+belcom = GMAIL.INBOX:contain_field('List-ID', 'beluga-commit.CS.McGill.CA')
GMAIL.INBOX:move_messages(GMAIL['Internship' .. folder_sep .. 'beluga-commit'], belcom)
-beldev = GMAIL.INBOX:match_to('beluga-dev@cs.mcgill.ca')
+beldev = GMAIL.INBOX:contain_field('List-ID', 'beluga-dev.CS.McGill.CA')
GMAIL.INBOX:move_messages(GMAIL['Internship' .. folder_sep .. 'beluga-dev'], beldev)
complogic = GMAIL.INBOX:contain_field('List-Id', 'complogic.CS.McGill.CA') *