From bfc7c9fad5aea3b890e86233d48614d61e8292ac Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Mon, 23 Apr 2018 13:25:13 -0400 Subject: Fix beluga imapfilter --- .imapfilter/config.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.imapfilter') 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') * -- cgit v1.2.3