From 7598435441b039065b9384cab29f8c3cae308ae8 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Mon, 20 Feb 2023 11:10:19 -0500 Subject: Update primary Canonical mail and a few other small tweaks --- .config/dovecot/canonical.sieve | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.config/dovecot') 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; -- cgit v1.2.3-60-g2f50