]> Frank Brehm's Git Trees - pixelpark/admin-tools.git/commitdiff
Changing sieve rules
authorFrank Brehm <frank.brehm@pixelpark.com>
Tue, 7 Jan 2020 09:01:06 +0000 (10:01 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Tue, 7 Jan 2020 09:01:06 +0000 (10:01 +0100)
docs/frank.brehm.sieve.txt

index ca862617cf6674777d84131d5e4a2980e773838d..10cd4e208b2c8e0af0405134271e14ecf9b6d706 100644 (file)
@@ -32,11 +32,16 @@ elsif allof ( header :contains ["from"] ["MAILER-DAEMON@pixelpark.com"],
               header :contains ["subject"] ["Undelivered Mail Returned to Sender"]) {
        fileinto "Betrieb/postmaster/Undelivered" ;
 }
-elsif allof ( header :contains ["to"] ["postmaster@pixelpark.com"],
+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"])) {
+                      header :contains ["subject"] ["Delivery Notification: Delivery has timed out and failed"]
+                    )
+            ) {
        fileinto "Betrieb/postmaster/Undelivered" ;
 }
 elsif header :contains ["from"] ["aws-marketing-email-replies@amazon.com"] {