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
Debug: more detail for expansions
[exim.git]
/
test
/
scripts
/
2100-OpenSSL
/
2132
diff --git
a/test/scripts/2100-OpenSSL/2132
b/test/scripts/2100-OpenSSL/2132
index 4a12fb0bb344e0c178f46fe710d7b41c3cc50ea8..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,10
+66,12
@@
ehlo rhu.barb
??? 250
starttls
??? 220
??? 250
starttls
??? 220
-+++ 1
-help
+noop
+????554
+noop
??? 554
****
??? 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
@@
-73,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>