From c049cb76114b3a6e3ac8a55b84ab69f5c1840757 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Thu, 2 Nov 2017 18:52:02 +0100 Subject: [PATCH] Neue Sieve Regeln --- docs/frank.brehm.sieve.txt | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/docs/frank.brehm.sieve.txt b/docs/frank.brehm.sieve.txt index 5e1b7fd..902cfbc 100644 --- a/docs/frank.brehm.sieve.txt +++ b/docs/frank.brehm.sieve.txt @@ -16,6 +16,24 @@ elsif allof ( header :contains ["from"] ["8x5@pixelpark.com"], # Incidents } elsif allof ( header :contains ["from"] ["8x5@pixelpark.com"], - header :contains ["subject"] ["Incidentreport: "]) { + anyof ( header :contains ["subject"] ["Incidentreport: "], + header :contains ["subject"] ["Incidentannouncement: "])) { fileinto "Betrieb/Incident" ; + +# 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" ; +} +elsif allof ( header :contains ["to"] ["postmaster@pixelpark.com"], + header :contains ["subject"] ["Undelivered Mail Returned to Sender"]) { + fileinto "Betrieb/postmaster" ; +} + -- 2.39.5