X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/ba6e420e8d84f3a09b519ebb81764bc63a3886cc..bf276d61dbf7f9f9ccb6d22b921274887208d4df:/.config/dovecot/canonical.sieve?ds=sidebyside diff --git a/.config/dovecot/canonical.sieve b/.config/dovecot/canonical.sieve index 70ffe5f..ef510a4 100644 --- a/.config/dovecot/canonical.sieve +++ b/.config/dovecot/canonical.sieve @@ -41,7 +41,9 @@ if address :is "from" "notifications@github.com" { 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;