From afa6bb670fae6bc105eeb79f095bdd3971167e72 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Mon, 11 Nov 2019 10:32:26 +0100 Subject: [PATCH] New version of sieve rules --- docs/frank.brehm.sieve.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/frank.brehm.sieve.txt b/docs/frank.brehm.sieve.txt index 3db9d0f..ca86261 100644 --- a/docs/frank.brehm.sieve.txt +++ b/docs/frank.brehm.sieve.txt @@ -33,7 +33,10 @@ elsif allof ( header :contains ["from"] ["MAILER-DAEMON@pixelpark.com"], fileinto "Betrieb/postmaster/Undelivered" ; } elsif allof ( header :contains ["to"] ["postmaster@pixelpark.com"], - header :contains ["subject"] ["Undelivered Mail Returned to Sender"]) { + anyof ( header :contains ["subject"] ["Undelivered Mail Returned to Sender"], + 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" ; } elsif header :contains ["from"] ["aws-marketing-email-replies@amazon.com"] { -- 2.39.5