summaryrefslogtreecommitdiff
path: root/test/scripts/9400-local_scan/9402
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2006-02-07 10:54:33 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2006-02-07 10:54:33 +0000
commit59371ea735c941334861aa5b8e1e9a06facf044f (patch)
tree79168561a70a94a3994fbe362b904ff9aab86136 /test/scripts/9400-local_scan/9402
parent54c5ebb14ead7439af300e9d7d9d7d2ba29ff32e (diff)
Hopefully the final lot of test files.
Diffstat (limited to 'test/scripts/9400-local_scan/9402')
-rw-r--r--test/scripts/9400-local_scan/940236
1 files changed, 36 insertions, 0 deletions
diff --git a/test/scripts/9400-local_scan/9402 b/test/scripts/9400-local_scan/9402
new file mode 100644
index 000000000..a4345acce
--- /dev/null
+++ b/test/scripts/9400-local_scan/9402
@@ -0,0 +1,36 @@
+# local_scan() smtp_printf() and smtp_fflush()
+need_ipv4
+#
+exim -DSERVER=server -bd -oX PORT_D
+****
+client -t2 127.0.0.1 PORT_D
+??? 220
+ehlo foobar
+??? 250-
+??? 250-
+??? 250-
+??? 250
+mail from:<test-local-scan@y>
+??? 250
+rcpt to:<x@y>
+??? 250
+data
+??? 354
+local-scan: reject rhubarb rhubarb
+.
+??? 550
+mail from:<test-local-scan@y>
+??? 250
+rcpt to:<x@y>
+??? 250
+data
+??? 354
+local-scan: teergrube
+.
+??? 550-
+??? 550-
+****
+# Wait because of the teergrube
+sleep 3
+killdaemon
+no_msglog_check