From 3a307ffe740badc12995f9dbdc0a32214367f8d3 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Mon, 11 Sep 2017 12:33:15 -0400 Subject: imapfilter --- .imapfilter/config.lua | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to '.imapfilter') diff --git a/.imapfilter/config.lua b/.imapfilter/config.lua index 0fc6b5b..3b8492a 100644 --- a/.imapfilter/config.lua +++ b/.imapfilter/config.lua @@ -278,9 +278,15 @@ vfr = GMAIL.INBOX:match_from('vfr-no-reply@aynrand.org') * GMAIL.INBOX:is_seen() GMAIL.INBOX:move_messages(GMAIL['VfR'], vfr) +ari = GMAIL.INBOX:match_from('Impact@aynrand.org') + * GMAIL.INBOX:is_seen() +GMAIL.INBOX:move_messages(GMAIL['ARI'], ari) + epic = GMAIL.INBOX:contain_field('List-Id', 'Every Pub In Cambridge ') GMAIL.INBOX:move_messages(GMAIL['Internship' .. folder_sep .. 'epic'], epic) -banks = GMAIL.INBOX:match_from('pncalerts@pnc.com') * - GMAIL.INBOX:is_seen() +banks = ( GMAIL.INBOX:match_from('pncalerts@pnc.com') + + GMAIL.INBOX:match_from('discover@service.discover.com') ) + * ( GMAIL.INBOX:is_seen() + + GMAIL.INBOX:is_older(7) ) GMAIL.INBOX:move_messages(GMAIL['banks'], banks) -- cgit v1.2.3