summaryrefslogtreecommitdiff
path: root/test/scripts/5200-queryprogram/5204
diff options
context:
space:
mode:
Diffstat (limited to 'test/scripts/5200-queryprogram/5204')
-rw-r--r--test/scripts/5200-queryprogram/520428
1 files changed, 28 insertions, 0 deletions
diff --git a/test/scripts/5200-queryprogram/5204 b/test/scripts/5200-queryprogram/5204
new file mode 100644
index 000000000..593ce82eb
--- /dev/null
+++ b/test/scripts/5200-queryprogram/5204
@@ -0,0 +1,28 @@
+# queryprogram
+1
+exim -bt '"ACCEPT hosts=localhost lookup=byname"@some.host'
+****
+2
+exim -d-all+route -bt '"DECLINE cannot route this one (DECLINE)"@some.host'
+****
+2
+exim -d-all+route -bt '"FAIL cannot route this one (FAIL)"@some.host'
+****
+1
+exim -d-all+route -bt '"ERROR cannot route this one (ERROR)"@some.host'
+****
+1
+exim -d-all+route -bt '"DEFER cannot route this one (DEFER)"@some.host'
+****
+exim -d-all+route -bt '"ACCEPT transport = other_smtp hosts=ten-1.test.ex"@some.host'
+****
+exim -d-all+route -bt PASS@some.host
+****
+1
+exim -d-all+route -bt '"FREEZE cannot route this one (FREEZE)"@some.host'
+****
+exim -d-all+route -bt '"REDIRECT postmaster@test.ex"@some.host'
+****
+exim -odi '"FAIL cannot route this one (FAIL)"@some.host'
+Test message
+****