From f5dd64a4d3e9322986b396bbfb9a40ee8a77f38a Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Fri, 29 Nov 2024 09:29:50 -0500 Subject: Various updates --- .config/dovecot/canonical.sieve | 67 ----------------------------------------- 1 file changed, 67 deletions(-) delete mode 100644 .config/dovecot/canonical.sieve (limited to '.config/dovecot/canonical.sieve') diff --git a/.config/dovecot/canonical.sieve b/.config/dovecot/canonical.sieve deleted file mode 100644 index 6c45c57..0000000 --- a/.config/dovecot/canonical.sieve +++ /dev/null @@ -1,67 +0,0 @@ -require [ "regex", "variables", "fileinto", "envelope", "mailbox", - "imap4flags", "include" ]; - -if address :is "from" "noreply+chat@canonical.com" { - fileinto :create "mattermost"; - stop; -} - -if address :is "from" "noreply+discourse@canonical.com" { - fileinto :create "discourse"; - stop; -} - -if address :is :domain "from" ["discourse.ubuntu.com", "forum.snapcraft.io", "discourse.charmhub.io"] { - fileinto :create "discourse"; - stop; -} - -if address :is "from" "jira@warthogs.atlassian.net" { - fileinto :create "jira"; - stop; -} - -if address :is :domain "from" "rt.canonical.com" { - fileinto :create "rt"; - stop; -} - -if anyof (address :is "from" "archive@ubuntu.com", - address :matches :domain "from" ["launchpad.net", "*.launchpad.net"]) -{ - fileinto :create "launchpad"; - stop; -} - -if address :is "from" "gitlab@salsa.debian.org" { - fileinto :create "salsa"; - stop; -} - -if address :is "from" "bugzilla-daemon@mozilla.org" { - fileinto :create "bugzilla"; - stop; -} - -if address :is "to" "ftp-release-notifications@gnome.org" { - fileinto :create "gnome-releases"; - stop; -} - -if address :is "from" "notifications@github.com" { - keep; - stop; -} - -if header :regex "list-id" "<.+.xt.local>" { - keep; - stop; -} - -if allof (header :regex "list-id" "<([a-z_0-9-]+)[.@]", - not address :regex :localpart "from" "^(no)?reply") -{ - set :lower "listname" "${1}"; - fileinto :create "l.${listname}"; - stop; -} -- cgit v1.2.3-60-g2f50