]> Frank Brehm's Git Trees - pixelpark/admin-tools.git/commitdiff
Renaming
authorFrank Brehm <frank.brehm@pixelpark.com>
Thu, 24 Jun 2021 13:47:31 +0000 (15:47 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Thu, 24 Jun 2021 13:47:31 +0000 (15:47 +0200)
docs/frank.brehm.sieve [new file with mode: 0644]
docs/frank.brehm.sieve.txt [deleted file]

diff --git a/docs/frank.brehm.sieve b/docs/frank.brehm.sieve
new file mode 100644 (file)
index 0000000..246e51e
--- /dev/null
@@ -0,0 +1,178 @@
+require ["fileinto"];
+require ["reject"];
+require ["envelope"];
+require ["vacation"];
+
+# Oracle stuff
+if header :contains ["from"] ["replies@oracle-mail.com"] {
+       fileinto "Betrieb/Oracle" ;
+
+# Change announcements
+}
+elsif allof ( header :contains ["from"] ["8x5@pixelpark.com"],
+              header :contains ["subject"] ["Change: "]) {
+       fileinto "Betrieb/Change" ;
+
+# Confluence
+}
+elsif allof ( header :contains ["from"] ["confluence@pixelpark.com"],
+              header :contains ["from"] ["confluence@digitaspixelpark.com"]) {
+       fileinto "Betrieb/Confluence" ;
+
+# Incidents
+}
+elsif allof ( header :contains ["from"] ["8x5@pixelpark.com"],
+              anyof ( header :contains ["subject"] ["Incidentreport: "],
+                      header :contains ["subject"] ["Incidentannouncement: "])) {
+       fileinto "Betrieb/Incident" ;
+
+# Myracloud
+}
+elsif anyof ( header :contains ["from"] ["noreply@myracloud.com"],
+              header :contains ["from"] ["support@myrasecurity.com"]) {
+       fileinto "Betrieb/Myra" ;
+
+# Logwatch
+}
+elsif allof ( header :contains ["from"] ["logwatch@"],
+              header :contains ["subject"] ["Logwatch for "]) {
+       fileinto "Betrieb/Logwatch" ;
+
+# Undelivered mail
+}
+elsif allof ( header :contains ["from"] ["MAILER-DAEMON@pixelpark.com"],
+              header :contains ["subject"] ["Undelivered Mail Returned to Sender"]) {
+       fileinto "Betrieb/postmaster/Undelivered" ;
+}
+elsif allof ( anyof ( header :contains ["to"] ["postmaster@pixelpark.com"],
+                      header :contains ["to"] ["ppjira@pixelpark.com"]
+                    ),
+              anyof ( header :contains ["subject"] ["Undelivered Mail Returned to Sender"],
+                      header :contains ["subject"] ["Delivery Status Notification (Failure)"],
+                      header :contains ["subject"] ["Delivery Notification: Delivery has failed"],
+                      header :contains ["subject"] ["Delivery Notification: Delivery has been delayed"],
+                      header :contains ["subject"] ["Delivery Notification: Delivery has timed out and failed"]
+                    )
+            ) {
+       fileinto "Betrieb/postmaster/Undelivered" ;
+
+# Amazon Web Services (AWS)
+}
+elsif anyof ( header :contains ["from"] ["aws-marketing-email-replies@amazon.com"],
+              header :contains ["from"] ["aws-apac-marketing@amazon.com"],
+              header :contains ["from"] ["no-reply-aws@amazon.com"],
+              header :contains ["from"] ["route53-dev-admin@amazon.com"],
+              header :contains ["from"] ["@email.amazon.com"]) {
+       fileinto "Betrieb/AWS" ;
+
+# Barracuda Spam firewall
+}
+elsif anyof ( header :contains ["from"] ["barracuda@pixelpark.com"],
+              header :contains ["from"] ["report-bounces@barracudanetworks.com"]) {
+       fileinto "Betrieb/postmaster/Barracuda" ;
+
+# Barracuda Spam firewall
+}
+elsif header :contains ["to"] ["barracuda-report@pixelpark.com"] {
+       fileinto "Betrieb/postmaster/Barracuda" ;
+}
+elsif header :contains ["from"] ["zabbix@pixelpark.com"] {
+       fileinto "Betrieb/Monitoring" ;
+}
+elsif header :contains ["from"] ["Zabbix Monitoring"] {
+       fileinto "Betrieb/Monitoring" ;
+}
+elsif header :contains ["from"] ["(Cron Daemon)"] {
+       if header :contains ["subject"] ["clamav"] {
+               fileinto "Betrieb/Cron/Clamav" ;
+       }
+       elsif header :contains ["subject"] ["clamscan"] {
+               fileinto "Betrieb/Cron/Clamav" ;
+       }
+       elsif header :contains ["subject"] ["/opt/fbb_scanner.sh"] {
+               fileinto "Betrieb/Cron/Clamav" ;
+       }
+       elsif header :contains ["subject"] ["couchdbbackup.sh"] {
+               fileinto "Betrieb/Cron/Couch" ;
+       }
+       elsif header :contains ["subject"] ["restic-backup.sh"] {
+               fileinto "Betrieb/Cron/Couch" ;
+       }
+       elsif header :contains ["subject"] ["automongobackup.sh"] {
+               fileinto "Betrieb/Cron/Mongo" ;
+       }
+       elsif header :contains ["subject"] ["fetch_ampdata_pdu"] {
+               fileinto "Betrieb/Cron/Netbackup" ;
+       }
+       elsif header :contains ["subject"] ["backup_config_a10.sh"] {
+               fileinto "Betrieb/Cron/Netbackup" ;
+       }
+       elsif header :contains ["subject"] ["mysql-mariabackup"] {
+               fileinto "Betrieb/Cron/Mariabackup" ;
+       }
+       elsif header :contains ["subject"] ["mariabackup-wrapper"] {
+               fileinto "Betrieb/Cron/Mariabackup" ;
+       }
+       elsif header :contains ["subject"] ["mariabackup.sh"] {
+               fileinto "Betrieb/Cron/Mariabackup" ;
+       }
+       elsif header :contains ["subject"] ["db_backup.bsh"] {
+               fileinto "Betrieb/Cron/MySQL" ;
+       }
+       elsif header :contains ["subject"] ["mysql-dump-backup.sh"] {
+               fileinto "Betrieb/Cron/MySQL" ;
+       }
+       elsif header :contains ["subject"] ["dump-database.sh"] {
+               fileinto "Betrieb/Cron/MySQL" ;
+       }
+       elsif header :contains ["subject"] ["mysqlbackup.sh"] {
+               fileinto "Betrieb/Cron/MySQL" ;
+       }
+       elsif header :contains ["subject"] ["mysql-binlog"] {
+               fileinto "Betrieb/Cron/MySQL" ;
+       }
+       elsif header :contains ["subject"] ["--name mysql"] {
+               fileinto "Betrieb/Cron/MySQL" ;
+       }
+       elsif header :contains ["subject"] ["mk_clean_logfiles.sh"] {
+               fileinto "Betrieb/Cron/DocMorris" ;
+       }
+       elsif header :contains ["subject"] ["docker run"] {
+               fileinto "Betrieb/Cron/Docker" ;
+       }
+       elsif header :contains ["subject"] ["pg_backup_encrypted.sh"] {
+               fileinto "Betrieb/Cron/PostgreSQL" ;
+       }
+       elsif header :contains ["subject"] ["live-search-spk.spk.pixelpark.net:9200"] {
+               fileinto "Betrieb/Cron/Sparkasse" ;
+       }
+       else {
+               fileinto "Betrieb/Cron" ;
+       }
+# Mein Laptop
+}
+elsif header :contains ["from"] ["@fb-lap.pixelpark.com"] {
+       fileinto "Privat/Laptop" ;
+# Hostmaster stuff
+}
+elsif header :contains ["from"] ["guardian-v4@dns-net.de"] {
+       fileinto "Betrieb/Hostmaster" ;
+
+# Hostmaster stuff
+}
+elsif header :contains ["to"] ["hostmaster@pixelpark.com"] {
+       fileinto "Betrieb/Hostmaster" ;
+}
+elsif header :contains ["from"] ["Gitlab Pixelpark"] {
+       fileinto "Betrieb/Git" ;
+}
+elsif header :contains ["from"] ["ppjira@pixelpark.com"] {
+       fileinto "Betrieb/Tickets" ;
+}
+elsif header :contains ["from"] ["cert-admin@S-CERT.de"] {
+       fileinto "Betrieb/S-Cert" ;
+}
+elsif header :contains ["from"] ["datadomain-01.pixelpark.com"] {
+       fileinto "Betrieb/Datadomain" ;
+}
+
diff --git a/docs/frank.brehm.sieve.txt b/docs/frank.brehm.sieve.txt
deleted file mode 100644 (file)
index 246e51e..0000000
+++ /dev/null
@@ -1,178 +0,0 @@
-require ["fileinto"];
-require ["reject"];
-require ["envelope"];
-require ["vacation"];
-
-# Oracle stuff
-if header :contains ["from"] ["replies@oracle-mail.com"] {
-       fileinto "Betrieb/Oracle" ;
-
-# Change announcements
-}
-elsif allof ( header :contains ["from"] ["8x5@pixelpark.com"],
-              header :contains ["subject"] ["Change: "]) {
-       fileinto "Betrieb/Change" ;
-
-# Confluence
-}
-elsif allof ( header :contains ["from"] ["confluence@pixelpark.com"],
-              header :contains ["from"] ["confluence@digitaspixelpark.com"]) {
-       fileinto "Betrieb/Confluence" ;
-
-# Incidents
-}
-elsif allof ( header :contains ["from"] ["8x5@pixelpark.com"],
-              anyof ( header :contains ["subject"] ["Incidentreport: "],
-                      header :contains ["subject"] ["Incidentannouncement: "])) {
-       fileinto "Betrieb/Incident" ;
-
-# Myracloud
-}
-elsif anyof ( header :contains ["from"] ["noreply@myracloud.com"],
-              header :contains ["from"] ["support@myrasecurity.com"]) {
-       fileinto "Betrieb/Myra" ;
-
-# Logwatch
-}
-elsif allof ( header :contains ["from"] ["logwatch@"],
-              header :contains ["subject"] ["Logwatch for "]) {
-       fileinto "Betrieb/Logwatch" ;
-
-# Undelivered mail
-}
-elsif allof ( header :contains ["from"] ["MAILER-DAEMON@pixelpark.com"],
-              header :contains ["subject"] ["Undelivered Mail Returned to Sender"]) {
-       fileinto "Betrieb/postmaster/Undelivered" ;
-}
-elsif allof ( anyof ( header :contains ["to"] ["postmaster@pixelpark.com"],
-                      header :contains ["to"] ["ppjira@pixelpark.com"]
-                    ),
-              anyof ( header :contains ["subject"] ["Undelivered Mail Returned to Sender"],
-                      header :contains ["subject"] ["Delivery Status Notification (Failure)"],
-                      header :contains ["subject"] ["Delivery Notification: Delivery has failed"],
-                      header :contains ["subject"] ["Delivery Notification: Delivery has been delayed"],
-                      header :contains ["subject"] ["Delivery Notification: Delivery has timed out and failed"]
-                    )
-            ) {
-       fileinto "Betrieb/postmaster/Undelivered" ;
-
-# Amazon Web Services (AWS)
-}
-elsif anyof ( header :contains ["from"] ["aws-marketing-email-replies@amazon.com"],
-              header :contains ["from"] ["aws-apac-marketing@amazon.com"],
-              header :contains ["from"] ["no-reply-aws@amazon.com"],
-              header :contains ["from"] ["route53-dev-admin@amazon.com"],
-              header :contains ["from"] ["@email.amazon.com"]) {
-       fileinto "Betrieb/AWS" ;
-
-# Barracuda Spam firewall
-}
-elsif anyof ( header :contains ["from"] ["barracuda@pixelpark.com"],
-              header :contains ["from"] ["report-bounces@barracudanetworks.com"]) {
-       fileinto "Betrieb/postmaster/Barracuda" ;
-
-# Barracuda Spam firewall
-}
-elsif header :contains ["to"] ["barracuda-report@pixelpark.com"] {
-       fileinto "Betrieb/postmaster/Barracuda" ;
-}
-elsif header :contains ["from"] ["zabbix@pixelpark.com"] {
-       fileinto "Betrieb/Monitoring" ;
-}
-elsif header :contains ["from"] ["Zabbix Monitoring"] {
-       fileinto "Betrieb/Monitoring" ;
-}
-elsif header :contains ["from"] ["(Cron Daemon)"] {
-       if header :contains ["subject"] ["clamav"] {
-               fileinto "Betrieb/Cron/Clamav" ;
-       }
-       elsif header :contains ["subject"] ["clamscan"] {
-               fileinto "Betrieb/Cron/Clamav" ;
-       }
-       elsif header :contains ["subject"] ["/opt/fbb_scanner.sh"] {
-               fileinto "Betrieb/Cron/Clamav" ;
-       }
-       elsif header :contains ["subject"] ["couchdbbackup.sh"] {
-               fileinto "Betrieb/Cron/Couch" ;
-       }
-       elsif header :contains ["subject"] ["restic-backup.sh"] {
-               fileinto "Betrieb/Cron/Couch" ;
-       }
-       elsif header :contains ["subject"] ["automongobackup.sh"] {
-               fileinto "Betrieb/Cron/Mongo" ;
-       }
-       elsif header :contains ["subject"] ["fetch_ampdata_pdu"] {
-               fileinto "Betrieb/Cron/Netbackup" ;
-       }
-       elsif header :contains ["subject"] ["backup_config_a10.sh"] {
-               fileinto "Betrieb/Cron/Netbackup" ;
-       }
-       elsif header :contains ["subject"] ["mysql-mariabackup"] {
-               fileinto "Betrieb/Cron/Mariabackup" ;
-       }
-       elsif header :contains ["subject"] ["mariabackup-wrapper"] {
-               fileinto "Betrieb/Cron/Mariabackup" ;
-       }
-       elsif header :contains ["subject"] ["mariabackup.sh"] {
-               fileinto "Betrieb/Cron/Mariabackup" ;
-       }
-       elsif header :contains ["subject"] ["db_backup.bsh"] {
-               fileinto "Betrieb/Cron/MySQL" ;
-       }
-       elsif header :contains ["subject"] ["mysql-dump-backup.sh"] {
-               fileinto "Betrieb/Cron/MySQL" ;
-       }
-       elsif header :contains ["subject"] ["dump-database.sh"] {
-               fileinto "Betrieb/Cron/MySQL" ;
-       }
-       elsif header :contains ["subject"] ["mysqlbackup.sh"] {
-               fileinto "Betrieb/Cron/MySQL" ;
-       }
-       elsif header :contains ["subject"] ["mysql-binlog"] {
-               fileinto "Betrieb/Cron/MySQL" ;
-       }
-       elsif header :contains ["subject"] ["--name mysql"] {
-               fileinto "Betrieb/Cron/MySQL" ;
-       }
-       elsif header :contains ["subject"] ["mk_clean_logfiles.sh"] {
-               fileinto "Betrieb/Cron/DocMorris" ;
-       }
-       elsif header :contains ["subject"] ["docker run"] {
-               fileinto "Betrieb/Cron/Docker" ;
-       }
-       elsif header :contains ["subject"] ["pg_backup_encrypted.sh"] {
-               fileinto "Betrieb/Cron/PostgreSQL" ;
-       }
-       elsif header :contains ["subject"] ["live-search-spk.spk.pixelpark.net:9200"] {
-               fileinto "Betrieb/Cron/Sparkasse" ;
-       }
-       else {
-               fileinto "Betrieb/Cron" ;
-       }
-# Mein Laptop
-}
-elsif header :contains ["from"] ["@fb-lap.pixelpark.com"] {
-       fileinto "Privat/Laptop" ;
-# Hostmaster stuff
-}
-elsif header :contains ["from"] ["guardian-v4@dns-net.de"] {
-       fileinto "Betrieb/Hostmaster" ;
-
-# Hostmaster stuff
-}
-elsif header :contains ["to"] ["hostmaster@pixelpark.com"] {
-       fileinto "Betrieb/Hostmaster" ;
-}
-elsif header :contains ["from"] ["Gitlab Pixelpark"] {
-       fileinto "Betrieb/Git" ;
-}
-elsif header :contains ["from"] ["ppjira@pixelpark.com"] {
-       fileinto "Betrieb/Tickets" ;
-}
-elsif header :contains ["from"] ["cert-admin@S-CERT.de"] {
-       fileinto "Betrieb/S-Cert" ;
-}
-elsif header :contains ["from"] ["datadomain-01.pixelpark.com"] {
-       fileinto "Betrieb/Datadomain" ;
-}
-