Avoid manually-counted long strings
[users/heiko/exim.git] / test / scripts / 0000-Basic / 0904
index 2157e61a87a061e31d39f2c4e9190eaf2dabe93e..fa72256c0a436560de0a996ac1f56ad035227029 100644 (file)
@@ -140,6 +140,31 @@ RCPT TO:<e@test.ex>
 DATA
 Subject: foo
 
 DATA
 Subject: foo
 
+data
+.
+QUIT
+****
+#
+#
+# Server rejects RCPT.  Client should not proceed to BDAT.
+server PORT_S
+220 Greetings
+EHLO
+250-Hello there
+250 CHUNKING
+MAIL FROM
+250 OK
+RCPT TO
+550 sorry, no
+QUIT
+****
+sudo exim -odf -bS
+EHLO test
+MAIL FROM:<sender@source.dom>
+RCPT TO:<ebad@test.ex>
+DATA
+Subject: foo
+
 data
 .
 QUIT
 data
 .
 QUIT