From 4472336b1590c202ce04f10a9620fdfb359f4231 Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Thu, 21 Jan 2021 22:19:11 +0530 Subject: [PATCH] imapfilter: Move mail from gitlab/freedesktop under it's own label --- imapfilter/.imapfilter/config.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/imapfilter/.imapfilter/config.lua b/imapfilter/.imapfilter/config.lua index 6ec03fb..8e2cfaf 100644 --- a/imapfilter/.imapfilter/config.lua +++ b/imapfilter/.imapfilter/config.lua @@ -76,6 +76,8 @@ function move_mailing_lists(account, mails) move_if_from_contains(account, mails, "monster.com","Jobs") move_if_from_contains(account, mails, "naukri.com","Jobs") + move_if_to_contains(account, mails, "gitlab@gitlab.freedesktop.org", "FreedesktopGitlab") + move_if_from_contains(account, mails, "gitlab@gitlab.freedesktop.org", "FreedesktopGitlab") end function move_if_subject_contains(account, mails, subject, mailbox)