diff options
author | Ryan Kavanagh <rak@debian.org> | 2017-09-11 12:33:15 -0400 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2017-09-11 12:33:15 -0400 |
commit | 3a307ffe740badc12995f9dbdc0a32214367f8d3 (patch) | |
tree | af046cc4698226d5183de1c82bbdf7a29cd502e5 /.imapfilter | |
parent | Updated aliases (diff) |
imapfilter
Diffstat (limited to '.imapfilter')
-rw-r--r-- | .imapfilter/config.lua | 10 |
1 files changed, 8 insertions, 2 deletions
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 <epic.einval.com>') 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) |