aboutsummaryrefslogtreecommitdiff
path: root/.imapfilter
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.imapfilter/config.lua17
1 files changed, 12 insertions, 5 deletions
diff --git a/.imapfilter/config.lua b/.imapfilter/config.lua
index 507018e..5afe316 100644
--- a/.imapfilter/config.lua
+++ b/.imapfilter/config.lua
@@ -76,17 +76,24 @@ for list = 1, #tracker do
end
alioth = { 'pkg-kde-commits'
- , 'pkg-kde-extras'
- , 'pkg-kde-talk'
- , 'pkg-multimedia-commits'
- , 'pkg-multimedia-maintainers'
- , 'python-apps-team' }
+ , 'pkg-kde-extras'
+ , 'pkg-kde-talk'
+ , 'pkg-multimedia-commits'
+ , 'pkg-multimedia-maintainers'
+ , 'python-apps-team' }
for list = 1, #alioth do
listfilter = GMAIL.INBOX:contain_field('List-ID', alioth[list] .. '.lists.alioth.debian.org')
GMAIL.INBOX:move_messages(GMAIL['Debian' .. folder_sep .. alioth[list]], listfilter)
end
+salsa = { 'cmus' }
+
+for proj = 1, #salsa do
+ listfilter = GMAIL.INBOX:contain_field('X-Gitlab-Project', salsa[proj])
+ GMAIL.INBOX:move_messages(GMAIL['Debian' .. folder_sep .. salsa[proj]], listfilter)
+end
+
dbugs = GMAIL.INBOX:match_from('.*@bugs.debian.org') *
GMAIL.INBOX:is_seen()
GMAIL.INBOX:move_messages(GMAIL['Debian' .. folder_sep .. 'dBugs'], dbugs)