diff options
author | Ryan Kavanagh <rak@debian.org> | 2017-09-04 14:07:10 -0400 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2017-09-04 14:07:10 -0400 |
commit | ba391a12bcddee0ca1493c6b3cb9dd31c3b605ee (patch) | |
tree | 889fad80f379927cc14127fc95ae01bbae4d63d3 /.imapfilter | |
parent | Update mutt accounts for same reason (diff) |
Extend imapfilter
Diffstat (limited to '.imapfilter')
-rw-r--r-- | .imapfilter/config.lua | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/.imapfilter/config.lua b/.imapfilter/config.lua index ab86b5d..0fc6b5b 100644 --- a/.imapfilter/config.lua +++ b/.imapfilter/config.lua @@ -199,8 +199,9 @@ PiA = GMAIL.INBOX:match_from('.*@philosophyinaction.com') * GMAIL.INBOX:is_seen() GMAIL.INBOX:move_messages(GMAIL['PiA'], PiA) -epstein = GMAIL.INBOX:match_from('support@industrialprogress.net') * - GMAIL.INBOX:is_seen() +epstein = ( GMAIL.INBOX:match_from('support@industrialprogress.net') + + GMAIL.INBOX:match_from('alex@alexepstein.com') ) + * GMAIL.INBOX:is_seen() GMAIL.INBOX:move_messages(GMAIL['Epstein'], epstein) -- Queen's @@ -250,6 +251,12 @@ categories = GMAIL.INBOX:contain_field('List-Id', 'maths-categories-seminar.list + GMAIL.INBOX:is_older(1) ) GMAIL.INBOX:move_messages(GMAIL['Academia'], categories) + +fields = GMAIL.INBOX:match_from('gensci@fields.utoronto.ca') + * ( GMAIL.INBOX:is_old() + + GMAIL.INBOX:is_seen() ) +fields = GMAIL.INBOX:move_messages(GMAIL['Academia'], fields) + -- People bagpipes = GMAIL.INBOX:match_from('PM_EMAIL') + @@ -273,3 +280,7 @@ GMAIL.INBOX:move_messages(GMAIL['VfR'], vfr) 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() +GMAIL.INBOX:move_messages(GMAIL['banks'], banks) |