aboutsummaryrefslogtreecommitdiff
path: root/.imapfilter/config.lua
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2012-01-19 07:03:31 -0500
committerRyan Kavanagh <rak@debian.org>2012-01-19 07:03:31 -0500
commite648f0756432321c7cecb72bb166e34009341f52 (patch)
treebb7954043c94ecc51729cb410f75539bc593873f /.imapfilter/config.lua
parentUpdate gnupg file handling in VIM (diff)
Only move d-d-a to mailbox once read
Diffstat (limited to '')
-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')