summaryrefslogtreecommitdiffstats
path: root/.config/dovecot/canonical.sieve
diff options
context:
space:
mode:
authorAmin Bandali <bandali@kelar.org>2024-11-29 09:29:50 -0500
committerAmin Bandali <bandali@kelar.org>2024-11-29 09:29:50 -0500
commitf5dd64a4d3e9322986b396bbfb9a40ee8a77f38a (patch)
treed2b477f0bf719e970b493378110117110b2d7330 /.config/dovecot/canonical.sieve
parenta00532206110afe233483a55c392b883c0d7ec61 (diff)
downloadconfigs-f5dd64a4d3e9322986b396bbfb9a40ee8a77f38a.tar.gz
configs-f5dd64a4d3e9322986b396bbfb9a40ee8a77f38a.tar.xz
configs-f5dd64a4d3e9322986b396bbfb9a40ee8a77f38a.zip
Various updatesHEADmain
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;
-}