aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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') *