summaryrefslogtreecommitdiff
path: root/test/scripts/5840-DANE-OpenSSL/5840
blob: 142a25ad471c317e0d8474f4424c8f08d8a13189 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# DANE client: general
#
exim -DSERVER=server -DDETAILS=ee -bd -oX PORT_D
****
### TLSA (3 1 1)
exim -odq CALLER@dane256ee.test.ex
Testing
****
### TLSA (3 1 2)
exim -odq CALLER@mxdane512ee.test.ex
Testing
****
exim -qf
****
#
#
### Recipient callout
exim -DOPT=callout -bhc 127.0.0.1
MAIL FROM: <CALLER@myhost.test.ex>
RCPT TO: <rcptuser@dane256ee.test.ex>
****
killdaemon
#
#
exim -DSERVER=server -DDETAILS=ta -bd -oX PORT_D
****
### TLSA (2 0 1)
exim -odq CALLER@mxdane256ta.test.ex
Testing
****
exim -qf
****
killdaemon
#
### 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, dane required (should fail)
exim -odq CALLER@dane.no.1.test.ex
Testing
****
### A server lacking a TLSA, dane requested only (should fail, as the NXDOMAIN is not DNSSEC)
exim -odq CALLER@dane.no.2.test.ex
Testing
****
### A server where the A is dnssec and the TLSA _fails_
exim -odq CALLER@danebroken1.test.ex
Testing
****
### A server securely saying "no TLSA records here", dane required (should fail)
exim -odq CALLER@dane.no.3.test.ex
Testing
****
### A server securely saying "no TLSA records here", dane requested only (should transmit)
exim -odq CALLER@dane.no.4.test.ex
Testing
****
exim -qf
****
killdaemon
no_msglog_check