Fix local delivery delay when combined with remote callout/hold. Bug 2599
[exim.git] / test / scripts / 0000-Basic / 0580
index 8d8a11751d43ae48eb8cf080daf9897e1f1a99e1..5cce3e8585ce042c48857a51c3646d0514eb6127 100644 (file)
@@ -19,7 +19,7 @@ QUIT
 221 Bye
 ****
 #
-exim -bs
+exim -bs -odi
 mail from:<userx@ok.example>
 rcpt to:<usery@test.ex>
 data
@@ -29,7 +29,6 @@ body
 .
 quit
 ****
-sleep 1
 #
 #
 # multiple recipients
@@ -62,7 +61,7 @@ QUIT
 221 Bye
 ****
 #
-exim -bs
+exim -bs -odi
 mail from:<userx@ok.example>
 rcpt to:<usery@test.ex>
 rcpt to:<usery2@test.ex>
@@ -73,7 +72,6 @@ body
 .
 quit
 ****
-sleep 1
 #
 #
 # 2nd callout result is cached (above); should not activate LCC
@@ -105,7 +103,7 @@ QUIT
 221 Bye
 ****
 #
-exim -bs
+exim -bs -odi
 mail from:<userx@ok.example>
 rcpt to:<usery3@test.ex>
 rcpt to:<usery@test.ex>
@@ -116,7 +114,6 @@ body
 .
 quit
 ****
-sleep 1
 #
 #
 # no cache hits; should do LCC
@@ -138,7 +135,7 @@ QUIT
 221 Bye
 ****
 #
-exim -bs
+exim -bs -odi
 mail from:<userx@ok.example>
 rcpt to:<usery4@test.ex>
 rcpt to:<usery5@test.ex>
@@ -149,8 +146,33 @@ body
 .
 quit
 ****
-sleep 1
 #
+# cmdline -bs send, rmt conn timeout, also local rcpt
+server PORT_S
+220 Welcome
+EHLO
+250 Hi
+MAIL FROM
+250 OK 
+RCPT TO
+250 OK
+DATA
+354 hit me
+.
+250 message accepted
+QUIT
+221 bye
+****
+exim -bs -odi
+mail from:<useri@ok.example>
+rcpt to:<remote@test.ex>
+rcpt to:<local@test.ex>
+data
+Subject: test
+.
+quit
+****
+exim -bp
+****
 #
-no_stdout_check
 no_msglog_check