Corrections to spec examples - fixes bug 1196
[exim.git] / test / scripts / 0000-Basic / 0428
index 940dea89883bfa8e9ce10fea5b081c5b1b58387c..d554c80d0f71a57b26b3d253d960992acb9348a3 100644 (file)
@@ -85,3 +85,13 @@ Filter: require ["vacation"];
         vacation "I am gone.  Not here.";
 Test 13
 ****
+# Test use of suffix
+exim -odi -f someone@test.ex userx-suffix userx-suffix2
+To: userx-suffix@test.ex
+Filter: require ["envelope","fileinto"]; 
+        if envelope :matches :localpart "to" "*-suffix" {
+          fileinto "userx-sawsuffix";
+          stop; 
+        }   
+Test 14
+****