summaryrefslogtreecommitdiff
path: root/test/scripts
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2007-02-05 12:35:46 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2007-02-05 12:35:46 +0000
commit047bdd8ce4bf9cc9fd22fb22a2ebaf190d492343 (patch)
tree4ff05c832b5ccba35607eb0089b4763749dee069 /test/scripts
parentf3f065bbe8b7d7fdc4d46dbfa063ae4dfb05bfd7 (diff)
Flush SMTP output buffer before "delay" in an ACL; add control =
no_delay_flush to disable this behaviour.
Diffstat (limited to 'test/scripts')
-rw-r--r--test/scripts/0000-Basic/055220
1 files changed, 20 insertions, 0 deletions
diff --git a/test/scripts/0000-Basic/0552 b/test/scripts/0000-Basic/0552
new file mode 100644
index 000000000..1958dbe64
--- /dev/null
+++ b/test/scripts/0000-Basic/0552
@@ -0,0 +1,20 @@
+# autoflush for delay
+need_ipv4
+#
+# Put a message on the queue (queue_only is set); this tests that a
+# non-SMTP delay still works.
+exim userx1@test.ex userx2@test.ex userx3@test.ex
+****
+# This daemon is "old-style", without the flush
+exim -DSERVER=server -DDDF=control=no_delay_flush -bd -oX PORT_D
+****
+exim -qf
+****
+killdaemon
+# This daemon should flush before delaying
+exim -DSERVER=server -bd -oX PORT_D
+****
+exim -qf
+****
+killdaemon
+no_msglog_check