Avoid sending DSN when message was accepted under fakereject or fakedefer. Bug 3016
[exim.git] / test / scripts / 5400-cutthrough / 5405
index 2e7a33388652ab63fade7f6f32ec717680a372aa..2de0f5c5872d2f3ce4ffa12c99f9460a8e142e6a 100644 (file)
@@ -170,6 +170,30 @@ MAIL FROM:<CALLER@myhost.test.ex>
 RCPT TO:<userg@domain.com>
 DATA
 
 RCPT TO:<userg@domain.com>
 DATA
 
+.
+QUIT
+****
+#
+# conn-drop (at DATA-dot), option "pass".  Should tmp-rej source, at DATA.
+server PORT_S
+220 ESMTP
+EHLO
+250 OK
+MAIL FROM:
+250 Sender OK
+RCPT TO:
+250 good rcpt
+DATA
+354 Send data
+.
+>*eof
+****
+exim -DCONTROL=/defer=pass -bs
+EHLO myhost.test.ex
+MAIL FROM:<CALLER@myhost.test.ex>
+RCPT TO:<userj@domain.com>
+DATA
+
 .
 QUIT
 ****
 .
 QUIT
 ****