aboutsummaryrefslogtreecommitdiff
path: root/.imapfilter
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2017-02-03 13:46:58 -0500
committerRyan Kavanagh <rak@debian.org>2017-02-03 13:46:58 -0500
commit3f26107d7910daa24b0cfb32c74f9014c45d6570 (patch)
tree3582d1a2958d3ab7b481e688356501f2fd73addf /.imapfilter
parentReenable keychain configuration (diff)
Update imapfilter
Diffstat (limited to '.imapfilter')
-rw-r--r--.imapfilter/config.lua8
1 files 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