3 exim -DSERVER=server -DDETAILS=ee -bd -oX PORT_D
5 ### TLSA (3 1 1) (DANE-EE SPKI SHA2-256)
6 exim -odq CALLER@dane256ee.test.ex
9 ### TLSA (3 1 2) ( SHA2-512)
10 exim -odq CALLER@mxdane512ee.test.ex
18 exim -DOPT=callout -bhc 127.0.0.1
19 MAIL FROM: <CALLER@myhost.test.ex>
20 RCPT TO: <rcptuser@dane256ee.test.ex>
25 exim -DSERVER=server -DDETAILS=ta -bd -oX PORT_D
27 ### TLSA (2 0 1) (DANE-TA CERT SHA2-256)
28 exim -odf CALLER@mxdane256ta.test.ex
34 ### A server with a nonverifying cert and no TLSA
35 # Check we get a non-CV but TLS connection, with try_dane but no require_dane
36 exim -DSERVER=server -DDETAILS=no -bd -oX PORT_D
38 exim -odf CALLER@thishost.test.ex
43 ### A server with a verifying cert and no TLSA
44 # Check we get a CV and TLS connection, with try_dane but no require_dane
45 exim -DSERVER=server -DDETAILS=ca -bd -oX PORT_D
47 exim -odf -DDETAILS=ca CALLER@thishost.test.ex
50 exim -DOPT=no_certname -qf
55 exim -DSERVER=server -DDETAILS=ee -bd -oX PORT_D
57 ### A server with two MXs for which both TLSA lookups return defer (delivery should defer)
58 exim -odq CALLER@mxdanelazy.test.ex
61 ### A server lacking a TLSA, dane required (should fail)
62 exim -odq CALLER@dane.no.1.test.ex
65 ### A server lacking a TLSA, dane requested only (should deliver, non-DANE, as the NXDOMAIN is not DNSSEC)
66 exim -odq CALLER@dane.no.2.test.ex
69 ### A server where the A is dnssec and the TLSA lookup _fails_ (delivery should defer)
70 exim -odq CALLER@danebroken1.test.ex
73 ### A server securely saying "no TLSA records here", dane required (delivery should fail)
74 exim -odq CALLER@dane.no.3.test.ex
77 ### A server securely saying "no TLSA records here", dane requested only (should deliver)
78 exim -odq CALLER@dane.no.4.test.ex
84 ### A server securely serving a wrong TLSA record, dane requested only (delivery should fail)
85 exim -odf CALLER@danebroken2.test.ex
88 ### A server insecurely serving a good TLSA record, dane requested only (should deliver, non-DANE)
89 exim -odf CALLER@danebroken3.test.ex
92 ### A server insecurely serving a good TLSA record, dane required (delivery should fail)
93 exim -odf CALLER@danebroken4.test.ex
96 ### A server insecurely serving a good A record, dane requested only (should deliver, non-DANE)
97 exim -odf CALLER@danebroken5.test.ex
100 ### A server insecurely serving a good A record, dane required (delivery should fail)
101 exim -odf CALLER@danebroken6.test.ex
105 ### A server with a mixed-usage set of TLSAs - the EE-mode one failing verify (should deliver, DANE-mode)
106 # that way round to exercise more code in the implementation
107 exim -odf CALLER@danemixed.test.ex
115 ### A server with a name not matching the cert. TA-mode; should fail
116 exim -DSERVER=server -DDETAILS=cert.net -bd -oX PORT_D
118 exim -odf CALLER@danebroken7.example.com
122 ### A server with a name not matching the cert. EE-mode; should deliver and claim DANE mode
123 exim -odf CALLER@danebroken8.example.com
129 sudo rm DIR/spool/db/retry
130 exim -DSERVER=server -DDETAILS=ca -bd -oX PORT_D
132 ### A server securely serving a wrong TLSA record, dane not requested (delivery should work non-dane)
133 exim -odf -DCONTROL=: CALLER@danebroken2.test.ex