]> Frank Brehm's Git Trees - pixelpark/admin-tools.git/commitdiff
Changed docs/frank.brehm.sieve.txt
authorFrank Brehm <frank.brehm@pixelpark.com>
Thu, 4 May 2017 08:43:42 +0000 (10:43 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Thu, 4 May 2017 08:43:42 +0000 (10:43 +0200)
docs/frank.brehm.sieve.txt

index 38f69039f70641f2158dd8307645cb85625f8681..5e1b7fd809b4fbb0e94cf8f5410e3a557d721032 100644 (file)
@@ -4,21 +4,18 @@ require ["envelope"];
 require ["vacation"];
 
 # Oracle stuff
-if header :matches ["from"] ["replies@oracle-mail.com"] {
-       fileinto "Betrieb/Oracle";
-       stop;
-}
+if header :contains ["from"] ["replies@oracle-mail.com"] {
+       fileinto "Betrieb/Oracle" ;
 
 # Change announcements
-if allof ( header :matches ["from"] ["8x5@pixelpark.com"],
-           header :matches ["subject"] ["Change: "]) {
-       fileinto "Betrieb/Change";
-       stop;
 }
+elsif allof ( header :contains ["from"] ["8x5@pixelpark.com"],
+              header :contains ["subject"] ["Change: "]) {
+       fileinto "Betrieb/Change" ;
 
 # Incidents
-if allof ( header :matches ["from"] ["8x5@pixelpark.com"],
-           header :matches ["subject"] ["Incidentreport: "]) {
-       fileinto "Betrieb/Incident";
-       stop;
+}
+elsif allof ( header :contains ["from"] ["8x5@pixelpark.com"],
+              header :contains ["subject"] ["Incidentreport: "]) {
+       fileinto "Betrieb/Incident" ;
 }