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" ;
}