aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2012-01-19 07:03:42 -0500
committerRyan Kavanagh <rak@debian.org>2012-01-19 07:03:42 -0500
commitd1a9bb6fd446622c1e37a10cb17dabd2a1199a91 (patch)
treef671bff9a37d54a1a929fcd676754e8f981d4991
parentOnly move d-d-a to mailbox once read (diff)
Only move dBugs to mailbox once read
-rw-r--r--.imapfilter/config.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/.imapfilter/config.lua b/.imapfilter/config.lua
index 4eb978c..65b7575 100644
--- a/.imapfilter/config.lua
+++ b/.imapfilter/config.lua
@@ -156,7 +156,8 @@ GMAIL.INBOX:move_messages(GMAIL['Debian.debian-qa'], debianqa)
debianprivate = GMAIL.INBOX:contain_field('List-ID', 'debian-private.lists.debian.org')
GMAIL.INBOX:move_messages(GMAIL['Debian.debian-private'], debianprivate)
-dbugs = GMAIL.INBOX:match_from('.*@bugs.debian.org')
+dbugs = GMAIL.INBOX:match_from('.*@bugs.debian.org') *
+ GMAIL.INBOX:is_seen()
GMAIL.INBOX:move_messages(GMAIL['Debian.dBugs'], dbugs)
-- KDE Stuff