summaryrefslogtreecommitdiffstats
path: root/.config/dovecot
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.config/dovecot/canonical.sieve67
1 files changed, 0 insertions, 67 deletions
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;
-}