aboutsummaryrefslogtreecommitdiff
path: root/.imapfilter
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2017-07-26 11:01:08 -0400
committerRyan Kavanagh <rak@debian.org>2017-07-26 11:01:08 -0400
commitef81e7daec46221c88c86bf097094101fd1894df (patch)
treed05a13b719b0e95c20b2ab7c4619b4c74add37f6 /.imapfilter
parentFilter Debian mail first: higher hit rate / less data (diff)
Increase matching for FB
Diffstat (limited to '.imapfilter')
-rw-r--r--.imapfilter/config.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/.imapfilter/config.lua b/.imapfilter/config.lua
index b902b24..ab86b5d 100644
--- a/.imapfilter/config.lua
+++ b/.imapfilter/config.lua
@@ -258,7 +258,9 @@ GMAIL.INBOX:move_messages(GMAIL['Bagpipes'], bagpipes)
facebook = GMAIL.INBOX:match_from('.*@facebookmail.com') *
( GMAIL.INBOX:contain_subject('New messages from ') +
- GMAIL.INBOX:contain_subject('New message from ') ) *
+ GMAIL.INBOX:contain_subject('New message from ') +
+ GMAIL.INBOX:contain_subject('sent a message') +
+ GMAIL.INBOX:contain_subject('sent you a message') ) *
( GMAIL.INBOX:is_old()
+ GMAIL.INBOX:is_seen() )
GMAIL.INBOX:move_messages(GMAIL['Friends'], facebook)