From 3a513e203e7a3f13a648e6aba6332793acb20ec8 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 7 Jan 2020 10:01:06 +0100 Subject: [PATCH] Changing sieve rules --- docs/frank.brehm.sieve.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/frank.brehm.sieve.txt b/docs/frank.brehm.sieve.txt index ca86261..10cd4e2 100644 --- a/docs/frank.brehm.sieve.txt +++ b/docs/frank.brehm.sieve.txt @@ -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"] { -- 2.39.5