More testcases.
[apps/pfixtools.git] / postlicyd / data / test.conf
index 3fc0503..7c88a75 100644 (file)
@@ -1,11 +1,28 @@
 match1 {
   type = match;
 
+  match_all = false;
   condition = stress #=;
+  condtion  = stress != yes;
   on_match  = postfix:OK;
   on_fail   = postfix:OK;
 }
 
+match2 {
+  type = match;
+
+  match_all = true;
+  condition = stress >= y;
+  condition = stress >i e;
+  condition = size <i 12345678;
+  condition = encryption_cipher >i rsa;
+  condition = encryption_cipher >i sha;
+  condition = sasl_method == plain;
+
+  on_match = postfix:OK;
+  on_fail  = postfix:OK;
+}
+
 hostnames1 {
   type = strlist;