aboutsummaryrefslogtreecommitdiff
path: root/.imapfilter
diff options
context:
space:
mode:
Diffstat (limited to '.imapfilter')
-rw-r--r--.imapfilter/config.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/.imapfilter/config.lua b/.imapfilter/config.lua
index 5713a79..4eb978c 100644
--- a/.imapfilter/config.lua
+++ b/.imapfilter/config.lua
@@ -104,7 +104,8 @@ GMAIL.INBOX:move_messages(GMAIL['Debian.debian-mentors'], debianmentorslist)
debiandevel = GMAIL.INBOX:contain_field('List-ID', 'debian-devel.lists.debian.org')
GMAIL.INBOX:move_messages(GMAIL['Debian.debian-devel'], debiandevel)
-debiandevelann = GMAIL.INBOX:contain_field('List-ID', 'debian-devel-announce.lists.debian.org')
+debiandevelann = GMAIL.INBOX:contain_field('List-ID', 'debian-devel-announce.lists.debian.org') *
+ GMAIL.INBOX:is_seen()
GMAIL.INBOX:move_messages(GMAIL['Debian.debian-devel-announce'], debiandevelann)
debiannewmaint = GMAIL.INBOX:contain_field('List-ID', 'debian-newmaint.lists.debian.org')