From: Frank Brehm Date: Thu, 2 Nov 2017 17:52:02 +0000 (+0100) Subject: Neue Sieve Regeln X-Git-Tag: 0.1.2~124^2~5 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=c049cb76114b3a6e3ac8a55b84ab69f5c1840757;p=pixelpark%2Fadmin-tools.git Neue Sieve Regeln --- 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" ; +} +