git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tidying
[exim.git]
/
test
/
scripts
/
2100-OpenSSL
/
2132
diff --git
a/test/scripts/2100-OpenSSL/2132
b/test/scripts/2100-OpenSSL/2132
index 620a63f57b50e1af55c7f3587c97016730fa5d66..9aa4c1a8c0b56494648979b4eabc4354be494cda 100644
(file)
--- a/
test/scripts/2100-OpenSSL/2132
+++ b/
test/scripts/2100-OpenSSL/2132
@@
-1,6
+1,8
@@
# TLS server: server ca cert from directory
exim -DSERVER=server -bd -oX PORT_D
****
# TLS server: server ca cert from directory
exim -DSERVER=server -bd -oX PORT_D
****
+#
+### Should accept message
client-ssl 127.0.0.1 PORT_D
??? 220
ehlo rhu.barb
client-ssl 127.0.0.1 PORT_D
??? 220
ehlo rhu.barb
@@
-12,6
+14,8
@@
ehlo rhu.barb
??? 250
starttls
??? 220
??? 250
starttls
??? 220
+helo test
+??? 250
mail from:<CALLER@test.ex>
??? 250
rcpt to:<CALLER@test.ex>
mail from:<CALLER@test.ex>
??? 250
rcpt to:<CALLER@test.ex>
@@
-24,6
+28,7
@@
This is a test encrypted message.
quit
??? 221
****
quit
??? 221
****
+### Should accept message (with a difficult env-from)
client-ssl 127.0.0.1 PORT_D
??? 220
ehlo rhu.barb
client-ssl 127.0.0.1 PORT_D
??? 220
ehlo rhu.barb
@@
-35,6
+40,8
@@
ehlo rhu.barb
??? 250
starttls
??? 220
??? 250
starttls
??? 220
+helo test
+??? 250
mail from:<"name with spaces"@test.ex>
??? 250
rcpt to:<CALLER@test.ex>
mail from:<"name with spaces"@test.ex>
??? 250
rcpt to:<CALLER@test.ex>
@@
-47,7
+54,8
@@
This is a test encrypted message.
quit
??? 221
****
quit
??? 221
****
-client-ssl HOSTIPV4 PORT_D
+### client cert verify required; none given
+client-ssl -t2 HOSTIPV4 PORT_D
??? 220
ehlo rhu.barb
??? 250-
??? 220
ehlo rhu.barb
??? 250-
@@
-58,7
+66,12
@@
ehlo rhu.barb
??? 250
starttls
??? 220
??? 250
starttls
??? 220
+noop
+????554
+noop
+??? 554
****
****
+### client cert verify required; good one supplied
client-ssl HOSTIPV4 PORT_D DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.pem DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key
??? 220
ehlo rhu.barb
client-ssl HOSTIPV4 PORT_D DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.pem DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key
??? 220
ehlo rhu.barb
@@
-70,6
+83,8
@@
ehlo rhu.barb
??? 250
starttls
??? 220
??? 250
starttls
??? 220
+helo test
+??? 250
mail from:<CALLER@test.ex>
??? 250
rcpt to:<CALLER@test.ex>
mail from:<CALLER@test.ex>
??? 250
rcpt to:<CALLER@test.ex>