diff options
Diffstat (limited to '.config/dovecot')
-rw-r--r-- | .config/dovecot/canonical.sieve | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/.config/dovecot/canonical.sieve b/.config/dovecot/canonical.sieve index 5b32d11..3802ffb 100644 --- a/.config/dovecot/canonical.sieve +++ b/.config/dovecot/canonical.sieve @@ -11,7 +11,7 @@ if address :is "from" "noreply+discourse@canonical.com" { stop; } -if address :is :domain "from" ["discourse.ubuntu.com", "forum.snapcraft.io"] { +if address :is :domain "from" ["discourse.ubuntu.com", "forum.snapcraft.io", "discourse.charmhub.io"] { fileinto :create "discourse"; stop; } @@ -51,6 +51,11 @@ if address :is "from" "notifications@github.com" { 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") { |