Fix bug 1267 - inlist/i were ignoring negation.
[users/heiko/exim.git] / test / scripts / 5410-cutthrough-OpenSSL / 5410
index d670abf4e6d2389923f64b379cd59ccf4a01faff..9938e00e5dce5a8b5c4acab93fb45f8b39a94c01 100644 (file)
@@ -1,6 +1,7 @@
 # cutthrough_delivery to target oferring TLS
 exim -DSERVER=server -bd -oX PORT_D
 ****
+# this one should succeed
 exim -d-all+acl+transport+expand+lists -bs
 EHLO myhost.test.ex
 MAIL FROM:<eximtest@myhost.test.ex>
@@ -10,7 +11,19 @@ DATA
 .
 QUIT
 ****
-# via a transport setting never-tls
+# via a transport setting hosts_avoid_tls
+# so this one should not use TLS
+exim -d-all+acl+transport+expand+lists -bs
+EHLO myhost.test.ex
+MAIL FROM:<eximtest@myhost.test.ex>
+RCPT TO:<usery@domain.com>
+DATA
+
+.
+QUIT
+****
+# via a transport setting hosts_verify_avoid_tls
+# so this one should not use TLS
 exim -d-all+acl+transport+expand+lists -bs
 EHLO myhost.test.ex
 MAIL FROM:<eximtest@myhost.test.ex>