From 3f26107d7910daa24b0cfb32c74f9014c45d6570 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Fri, 3 Feb 2017 13:46:58 -0500 Subject: Update imapfilter --- .imapfilter/config.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.imapfilter/config.lua b/.imapfilter/config.lua index 94a03bd..cb73fb7 100644 --- a/.imapfilter/config.lua +++ b/.imapfilter/config.lua @@ -175,8 +175,9 @@ sbuild = GMAIL.INBOX:match_from('sbuild@.*.ryanak.ca') + GMAIL.INBOX:match_from('sbuild@lambda') GMAIL.INBOX:move_messages(GMAIL['sbuild'], sbuild) -frescobaldi = ( GMAIL.INBOX:is_seen() * - GMAIL.INBOX:contain_field('List-ID', 'frescobaldi.googlegroups.com') ) +frescobaldi = ( GMAIL.INBOX:is_seen() + + GMAIL.INBOX:is_older(2) ) + * GMAIL.INBOX:contain_field('List-ID', 'frescobaldi.googlegroups.com') GMAIL.INBOX:move_messages(GMAIL['Debian' .. folder_sep .. 'frescobaldi'], frescobaldi) opensmtpd = ( GMAIL.INBOX:is_seen() @@ -228,7 +229,8 @@ GMAIL.INBOX:move_messages(GMAIL['Internship' .. folder_sep .. 'complogic'], comp mitplv = ( GMAIL.INBOX:contain_field('List-Id', 'plv.csail.mit.edu') + GMAIL.INBOX:contain_field('List-Id', 'bedrock-group.lists.csail.mit.edu') ) * - GMAIL.INBOX:is_older(2) + ( GMAIL.INBOX:is_older(1) + + GMAIL.INBOX:is_seen() ) GMAIL.INBOX:move_messages(GMAIL['GMAIL' .. folder_sep .. 'MIT'], mitplv) -- Academia -- cgit v1.2.3