DANE: move to mainline
[exim.git] / test / scripts / 5820-DANE-GnuTLS / 5820
... / ...
CommitLineData
1# DANE client: general
2#
3exim -DSERVER=server -DDETAILS=ee -bd -oX PORT_D
4****
5### TLSA (3 1 1)
6exim -odq CALLER@dane256ee.test.ex
7Testing
8****
9### TLSA (3 1 2)
10exim -odq CALLER@mxdane512ee.test.ex
11Testing
12****
13exim -qf
14****
15#
16#
17### Recipient callout
18exim -DOPT=callout -bhc 127.0.0.1
19MAIL FROM: <CALLER@myhost.test.ex>
20RCPT TO: <rcptuser@dane256ee.test.ex>
21****
22killdaemon
23#
24#
25exim -DSERVER=server -DDETAILS=ta -bd -oX PORT_D
26****
27### TLSA (2 0 1)
28exim -odf CALLER@mxdane256ta.test.ex
29Testing
30****
31killdaemon
32#
33#
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
36exim -DSERVER=server -DDETAILS=no -bd -oX PORT_D
37****
38exim -odf CALLER@thishost.test.ex
39Testing
40****
41killdaemon
42#
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
45exim -DSERVER=server -DDETAILS=ca -bd -oX PORT_D
46****
47exim -odf CALLER@thishost.test.ex
48Testing
49****
50exim -DOPT=no_certname -qf
51****
52killdaemon
53#
54#
55exim -DSERVER=server -DDETAILS=ee -bd -oX PORT_D
56****
57### A server with two MXs for which both TLSA lookups return defer (delivery should defer)
58exim -odq CALLER@mxdanelazy.test.ex
59Testing
60****
61### A server lacking a TLSA, dane required (should fail)
62exim -odq CALLER@dane.no.1.test.ex
63Testing
64****
65### A server lacking a TLSA, dane requested only (should deliver, non-DANE, as the NXDOMAIN is not DNSSEC)
66exim -odq CALLER@dane.no.2.test.ex
67Testing
68****
69### A server where the A is dnssec and the TLSA lookup _fails_ (delivery should defer)
70exim -odq CALLER@danebroken1.test.ex
71Testing
72****
73### A server securely saying "no TLSA records here", dane required (delivery should fail)
74exim -odq CALLER@dane.no.3.test.ex
75Testing
76****
77### A server securely saying "no TLSA records here", dane requested only (should deliver)
78exim -odq CALLER@dane.no.4.test.ex
79Testing
80****
81exim -qf
82****
83#
84### A server securely serving a wrong TLSA record, dane requested only (delivery should fail)
85exim -odf CALLER@danebroken2.test.ex
86Testing
87****
88### A server insecurely serving a good TLSA record, dane requested only (should deliver, non-DANE)
89exim -odf CALLER@danebroken3.test.ex
90Testing
91****
92### A server insecurely serving a good TLSA record, dane required (delivery should fail)
93exim -odf CALLER@danebroken4.test.ex
94Testing
95****
96### A server insecurely serving a good A record, dane requested only (should deliver, non-DANE)
97exim -odf CALLER@danebroken5.test.ex
98Testing
99****
100### A server insecurely serving a good A record, dane required (delivery should fail)
101exim -odf CALLER@danebroken6.test.ex
102Testing
103****
104#
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 excersize more code in the implementation
107exim -odf CALLER@danemixed.test.ex
108Testing
109****
110#
111killdaemon
112#
113#
114#
115### A server with a name not matching the cert. TA-mode; should fail
116exim -DSERVER=server -DDETAILS=cert.net -bd -oX PORT_D
117****
118exim -odf CALLER@danebroken7.example.com
119Testing
120****
121#
122### A server with a name not matching the cert. EE-mode; should deliver and claim DANE mode
123exim -odf CALLER@danebroken8.example.com
124Testing
125****
126#
127killdaemon
128no_msglog_check