X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/ba6e420e8d84f3a09b519ebb81764bc63a3886cc..refs/heads/main:/.config/dovecot/canonical.sieve?ds=inline diff --git a/.config/dovecot/canonical.sieve b/.config/dovecot/canonical.sieve index 70ffe5f..5b32d11 100644 --- a/.config/dovecot/canonical.sieve +++ b/.config/dovecot/canonical.sieve @@ -36,12 +36,24 @@ if address :is "from" "gitlab@salsa.debian.org" { 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" "<([a-z_0-9-]+)[.@]" { +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;