Update primary Canonical mail and a few other small tweaks
[~bandali/configs] / .config / dovecot / canonical.sieve
index 70ffe5f..ef510a4 100644 (file)
@@ -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;