* .config/dovecot/canonical.sieve: Add bugzilla and gnome-releases.
[~bandali/configs] / .config / dovecot / canonical.sieve
index 70ffe5f..5b32d11 100644 (file)
@@ -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;