deal with new email list
[distro-setup] / subdir_files / sieve / fsf.sieve
index 9c631afc9d3a62ec2355749471b6fa45deff1b9c..ac31d259b60844e6cef47ae271194b3c36180eea 100644 (file)
@@ -1,7 +1,13 @@
 require [ "regex", "variables", "fileinto", "envelope", "mailbox", "imap4flags", "include" ];
 
+if anyof (header :contains "list-id" "<office-commits.gnu.org>") {
+    discard;
+    stop;
+         }
+
 if anyof (
     address :is "from" "sysadmin@gnu.org",
+    address :is "from" "sysadmin-nonrt@gnu.org",
     address :is "to" "sysadmin-nonrt@gnu.org",
     address :is "from" "sysadmin-comment@gnu.org"
     ) {
@@ -9,13 +15,23 @@ if anyof (
     stop;
          }
 elsif anyof (
-    header :contains "list-id" "<office-commits.gnu.org>",
     header :is "Return-path" "<rtbounces@gnu.org>"
     ) {
 fileinto :create "rtcc";
     stop;
 }
 
+if anyof (
+    address :is "to" "dmarc-rua@fsf.org"
+    ) {
+    fileinto :create "dmarc";
+    stop;
+         }
+
+
+
+
+
 if anyof (
     header :regex "subject" "mailing list memberships reminder",
     address :is "to" "rtbounces@gnu.org",