X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/9175a8d2ac50382af2045b37e7b054180f91f4e8..54fda09b9a9042293ca2ed8b76e445b3ea312653:/test/scripts/5840-DANE-OpenSSL/5840?ds=sidebyside diff --git a/test/scripts/5840-DANE-OpenSSL/5840 b/test/scripts/5840-DANE-OpenSSL/5840 index 814b4b0e8..d1da54913 100644 --- a/test/scripts/5840-DANE-OpenSSL/5840 +++ b/test/scripts/5840-DANE-OpenSSL/5840 @@ -2,29 +2,74 @@ # exim -DSERVER=server -DDETAILS=ee -bd -oX PORT_D **** -# TLSA (3 1 1) -exim CALLER@dane256ee.test.ex +### TLSA (3 1 1) +exim -odq CALLER@dane256ee.test.ex Testing **** -# TLSA (3 1 2) -exim CALLER@mxdane512ee.test.ex +### TLSA (3 1 2) +exim -odq CALLER@mxdane512ee.test.ex Testing **** exim -qf **** -killdaemon -exim -DSERVER=server -DDETAILS=ee -DNOTDAEMON -qf +# +# +### Recipient callout +exim -DOPT=callout -bhc 127.0.0.1 +MAIL FROM: +RCPT TO: **** +killdaemon # # exim -DSERVER=server -DDETAILS=ta -bd -oX PORT_D **** -# TLSA (2 0 1) -exim CALLER@mxdane256ta.test.ex +### TLSA (2 0 1) +exim -odq CALLER@mxdane256ta.test.ex Testing **** exim -qf **** killdaemon -exim -DSERVER=server -DDETAILS=ta -DNOTDAEMON -qf +# +### A server with a nonverifying cert and no TLSA +# Check we get a non-CV but TLS connection, with try_dane but no require_dane +exim -DSERVER=server -DDETAILS=no -bd -oX PORT_D +**** +exim -odq CALLER@thishost.test.ex +Testing +**** +exim -qf +**** +killdaemon +# +### A server with a verifying cert and no TLSA +# Check we get a CV and TLS connection, with try_dane but no require_dane +exim -DSERVER=server -DDETAILS=ca -bd -oX PORT_D +**** +exim -odq CALLER@thishost.test.ex +Testing +**** +exim -DOPT=no_certname -qf **** +killdaemon +# +# +exim -DSERVER=server -DDETAILS=ee -bd -oX PORT_D +**** +### A server with two MXs for which both TLSA lookups return defer +exim -odq CALLER@mxdanelazy.test.ex +Testing +**** +### A server lacking a TLSA, required +exim -odq CALLER@dane.no.1.test.ex +Testing +**** +### A server lacking a TLSA, requested only +exim -odq CALLER@dane.no.2.test.ex +Testing +**** +exim -qf +**** +killdaemon +no_msglog_check