Commit | Line | Data |
---|---|---|
12ee8cf9 JH |
1 | # DANE client: general |
2 | # | |
82525c6f | 3 | exim -DSERVER=server -DDETAILS=ee -bd -oX PORT_D |
12ee8cf9 | 4 | **** |
cfe93a95 | 5 | ### TLSA (3 1 1) |
281e72e4 | 6 | exim -odq CALLER@dane256ee.test.ex |
101de477 JH |
7 | Testing |
8 | **** | |
cfe93a95 | 9 | ### TLSA (3 1 2) |
281e72e4 | 10 | exim -odq CALLER@mxdane512ee.test.ex |
12ee8cf9 JH |
11 | Testing |
12 | **** | |
401a8935 | 13 | exim -qf |
12ee8cf9 | 14 | **** |
bf7aabb4 JH |
15 | # |
16 | # | |
cfe93a95 | 17 | ### Recipient callout |
bf7aabb4 JH |
18 | exim -DOPT=callout -bhc 127.0.0.1 |
19 | MAIL FROM: <CALLER@myhost.test.ex> | |
cfe93a95 | 20 | RCPT TO: <rcptuser@dane256ee.test.ex> |
bf7aabb4 | 21 | **** |
12ee8cf9 | 22 | killdaemon |
82525c6f JH |
23 | # |
24 | # | |
25 | exim -DSERVER=server -DDETAILS=ta -bd -oX PORT_D | |
26 | **** | |
cfe93a95 | 27 | ### TLSA (2 0 1) |
854586e1 | 28 | exim -odf CALLER@mxdane256ta.test.ex |
82525c6f JH |
29 | Testing |
30 | **** | |
854586e1 JH |
31 | killdaemon |
32 | # | |
899b8bbc | 33 | # OpenSSL-specific regression testcase: certificate having Authority Key ID extension |
854586e1 JH |
34 | 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 |
35 | **** | |
36 | ### TLSA (2 1 1) | |
37 | exim -odf CALLER@mxdane256tak.test.ex | |
38 | Testing | |
82525c6f JH |
39 | **** |
40 | killdaemon | |
281e72e4 | 41 | # |
cfe93a95 | 42 | ### A server with a nonverifying cert and no TLSA |
281e72e4 JH |
43 | # Check we get a non-CV but TLS connection, with try_dane but no require_dane |
44 | exim -DSERVER=server -DDETAILS=no -bd -oX PORT_D | |
45 | **** | |
899b8bbc | 46 | exim -odf CALLER@thishost.test.ex |
281e72e4 | 47 | Testing |
12ee8cf9 | 48 | **** |
281e72e4 JH |
49 | killdaemon |
50 | # | |
cfe93a95 | 51 | ### A server with a verifying cert and no TLSA |
281e72e4 JH |
52 | # Check we get a CV and TLS connection, with try_dane but no require_dane |
53 | exim -DSERVER=server -DDETAILS=ca -bd -oX PORT_D | |
54 | **** | |
854586e1 | 55 | exim -odf CALLER@thishost.test.ex |
281e72e4 JH |
56 | Testing |
57 | **** | |
01a4a5c5 | 58 | exim -DOPT=no_certname -qf |
281e72e4 JH |
59 | **** |
60 | killdaemon | |
61 | # | |
4cea764f | 62 | # |
4cea764f JH |
63 | exim -DSERVER=server -DDETAILS=ee -bd -oX PORT_D |
64 | **** | |
899b8bbc | 65 | ### A server with two MXs for which both TLSA lookups return defer (delivery should defer) |
4cea764f JH |
66 | exim -odq CALLER@mxdanelazy.test.ex |
67 | Testing | |
68 | **** | |
b7e4352c | 69 | ### A server lacking a TLSA, dane required (should fail) |
6aa849d3 JH |
70 | exim -odq CALLER@dane.no.1.test.ex |
71 | Testing | |
72 | **** | |
899b8bbc | 73 | ### A server lacking a TLSA, dane requested only (should deliver, non-DANE, as the NXDOMAIN is not DNSSEC) |
6aa849d3 JH |
74 | exim -odq CALLER@dane.no.2.test.ex |
75 | Testing | |
76 | **** | |
899b8bbc | 77 | ### A server where the A is dnssec and the TLSA lookup _fails_ (delivery should defer) |
b7e4352c JH |
78 | exim -odq CALLER@danebroken1.test.ex |
79 | Testing | |
80 | **** | |
899b8bbc | 81 | ### A server securely saying "no TLSA records here", dane required (delivery should fail) |
ce889807 JH |
82 | exim -odq CALLER@dane.no.3.test.ex |
83 | Testing | |
84 | **** | |
899b8bbc | 85 | ### A server securely saying "no TLSA records here", dane requested only (should deliver) |
ce889807 JH |
86 | exim -odq CALLER@dane.no.4.test.ex |
87 | Testing | |
88 | **** | |
4cea764f JH |
89 | exim -qf |
90 | **** | |
899b8bbc JH |
91 | # |
92 | ### A server securely serving a wrong TLSA record, dane requested only (delivery should fail) | |
93 | exim -odf CALLER@danebroken2.test.ex | |
94 | Testing | |
95 | **** | |
96 | ### A server insecurely serving a good TLSA record, dane requested only (should deliver, non-DANE) | |
97 | exim -odf CALLER@danebroken3.test.ex | |
98 | Testing | |
99 | **** | |
100 | ### A server insecurely serving a good TLSA record, dane required (delivery should fail) | |
101 | exim -odf CALLER@danebroken4.test.ex | |
102 | Testing | |
103 | **** | |
104 | ### A server insecurely serving a good A record, dane requested only (should deliver, non-DANE) | |
105 | exim -odf CALLER@danebroken5.test.ex | |
106 | Testing | |
107 | **** | |
108 | ### A server insecurely serving a good A record, dane required (delivery should fail) | |
109 | exim -odf CALLER@danebroken6.test.ex | |
110 | Testing | |
111 | **** | |
112 | # | |
4cea764f | 113 | killdaemon |
28646fa9 JH |
114 | |
115 | ||
116 | ### A server with a name not matching the cert. TA-mode; should fail | |
117 | exim -DSERVER=server -DDETAILS=cert.net -bd -oX PORT_D | |
118 | **** | |
119 | exim -odf CALLER@danebroken7.example.com | |
120 | Testing | |
121 | **** | |
122 | # | |
123 | ### A server with a name not matching the cert. EE-mode; should deliver and claim DANE mode | |
124 | exim -odf CALLER@danebroken8.example.com | |
125 | Testing | |
126 | **** | |
127 | # | |
128 | killdaemon | |
4cea764f | 129 | no_msglog_check |