3 exim -DSERVER=server -DDETAILS=ee -bd -oX PORT_D
5 ### TLSA (3 1 1) (DANE-EE SPKI SHA2-256)
6 exim -odq t1@dane256ee.test.ex
9 ### TLSA (3 1 2) ( SHA2-512)
10 exim -odq t2@mxdane512ee.test.ex
18 exim -DOPT=callout -bhc 127.0.0.1
20 MAIL FROM: <t3@myhost.test.ex>
21 RCPT TO: <rcptuser@dane256ee.test.ex>
26 exim -DSERVER=server -DDETAILS=ta -bd -oX PORT_D
28 ### TLSA (2 0 1) (DANE-TA CERT SHA2-256)
29 exim -odf t4@mxdane256ta.test.ex
34 # OpenSSL-specific regression testcase: certificate having Authority Key ID extension
35 exim -DSERVER=server -DCERT=DIR/aux-fixed/exim-ca/example.com/server2.example.com/fullchain.pem -DALLOW=DIR/aux-fixed/exim-ca/example.com/server2.example.com/server2.example.com.unlocked.key -bd -oX PORT_D
38 exim -odf t5@mxdane256tak.test.ex
43 ### A server with a nonverifying cert and no TLSA
44 # Check we get a non-CV but TLS connection, with try_dane but no require_dane
45 exim -DSERVER=server -DDETAILS=no -bd -oX PORT_D
47 exim -odf t6@thishost.test.ex
52 ### A server with a verifying cert and no TLSA
53 # Check we get a CV and TLS connection, with try_dane but no require_dane
54 exim -DSERVER=server -DDETAILS=ca -bd -oX PORT_D
56 exim -odf -DDETAILS=ca t7@thishost.test.ex
59 exim -DOPT=no_certname -qf
64 exim -DSERVER=server -DDETAILS=ee -bd -oX PORT_D
66 ### A server with two MXs for which both TLSA lookups return defer (delivery should defer)
67 exim -odq t8@mxdanelazy.test.ex
70 ### A server lacking a TLSA, dane required (should fail)
71 exim -odq t9@dane.no.1.test.ex
74 ### A server lacking a TLSA, dane requested only (should deliver, non-DANE, as the NXDOMAIN is not DNSSEC)
75 exim -odq t10@dane.no.2.test.ex
78 ### A server where the A is dnssec and the TLSA lookup _fails_ (delivery should defer)
79 exim -odq t11@danebroken1.test.ex
82 ### A server securely saying "no TLSA records here", dane required (delivery should fail)
83 exim -odq t12@dane.no.3.test.ex
86 ### A server securely saying "no TLSA records here", dane requested only (should deliver)
87 exim -odq t13@dane.no.4.test.ex
95 ### A server securely serving a wrong TLSA record, dane requested only (delivery should fail)
97 exim -odf t14@danebroken2.test.ex
100 ### A server insecurely serving a good TLSA record, dane requested only (should deliver, non-DANE)
101 exim -odf t15@danebroken3.test.ex
104 ### A server insecurely serving a good TLSA record, dane required (delivery should fail)
105 exim -odf t16@danebroken4.test.ex
108 ### A server insecurely serving a good A record, dane requested only (should deliver, non-DANE)
109 exim -odf t17@danebroken5.test.ex
112 ### A server insecurely serving a good A record, dane required (delivery should fail)
113 exim -odf t18@danebroken6.test.ex
121 ### A server with a name not matching the cert. TA-mode; should fail
122 exim -DSERVER=server -DDETAILS=cert.net -bd -oX PORT_D
124 exim -odf t19@danebroken7.example.com
128 ### A server with a name not matching the cert. EE-mode; should deliver and claim DANE mode
129 exim -odf t20@danebroken8.example.com
135 sudo rm DIR/spool/db/retry*
136 exim -DSERVER=server -DDETAILS=ca -bd -oX PORT_D
138 ### A server securely serving a wrong TLSA record, dane not requested (delivery should work non-dane)
139 exim -odf -DCONTROL=: t21@danebroken2.test.ex
141 # sleep needed to see the t14 brokenness