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 | # | |
33 | 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 | |
34 | **** | |
35 | ### TLSA (2 1 1) | |
36 | exim -odf CALLER@mxdane256tak.test.ex | |
37 | Testing | |
82525c6f JH |
38 | **** |
39 | killdaemon | |
281e72e4 | 40 | # |
cfe93a95 | 41 | ### A server with a nonverifying cert and no TLSA |
281e72e4 JH |
42 | # Check we get a non-CV but TLS connection, with try_dane but no require_dane |
43 | exim -DSERVER=server -DDETAILS=no -bd -oX PORT_D | |
44 | **** | |
45 | exim -odq CALLER@thishost.test.ex | |
46 | Testing | |
12ee8cf9 | 47 | **** |
281e72e4 JH |
48 | exim -qf |
49 | **** | |
50 | killdaemon | |
51 | # | |
cfe93a95 | 52 | ### A server with a verifying cert and no TLSA |
281e72e4 JH |
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 | |
55 | **** | |
854586e1 | 56 | exim -odf CALLER@thishost.test.ex |
281e72e4 JH |
57 | Testing |
58 | **** | |
01a4a5c5 | 59 | exim -DOPT=no_certname -qf |
281e72e4 JH |
60 | **** |
61 | killdaemon | |
62 | # | |
4cea764f | 63 | # |
4cea764f JH |
64 | exim -DSERVER=server -DDETAILS=ee -bd -oX PORT_D |
65 | **** | |
cfe93a95 | 66 | ### A server with two MXs for which both TLSA lookups return defer |
4cea764f JH |
67 | exim -odq CALLER@mxdanelazy.test.ex |
68 | Testing | |
69 | **** | |
b7e4352c | 70 | ### A server lacking a TLSA, dane required (should fail) |
6aa849d3 JH |
71 | exim -odq CALLER@dane.no.1.test.ex |
72 | Testing | |
73 | **** | |
b7e4352c | 74 | ### A server lacking a TLSA, dane requested only (should fail, as the NXDOMAIN is not DNSSEC) |
6aa849d3 JH |
75 | exim -odq CALLER@dane.no.2.test.ex |
76 | Testing | |
77 | **** | |
b7e4352c JH |
78 | ### A server where the A is dnssec and the TLSA _fails_ |
79 | exim -odq CALLER@danebroken1.test.ex | |
80 | Testing | |
81 | **** | |
ce889807 JH |
82 | ### A server securely saying "no TLSA records here", dane required (should fail) |
83 | exim -odq CALLER@dane.no.3.test.ex | |
84 | Testing | |
85 | **** | |
86 | ### A server securely saying "no TLSA records here", dane requested only (should transmit) | |
87 | exim -odq CALLER@dane.no.4.test.ex | |
88 | Testing | |
89 | **** | |
4cea764f JH |
90 | exim -qf |
91 | **** | |
92 | killdaemon | |
93 | no_msglog_check |