DANE: fix TA-mode verify under GnuTLS. Bug 2311
[exim.git] / test / stderr / 5820
CommitLineData
570cb1bd
JH
1### TLSA (3 1 1) (DANE-EE SPKI SHA2-256)
2### TLSA (3 1 2) ( SHA2-512)
899b8bbc
JH
3### Recipient callout
4>>> host in hosts_connection_nolog? no (option unset)
5>>> host in host_lookup? no (option unset)
6>>> host in host_reject_connection? no (option unset)
7>>> host in sender_unqualified_hosts? no (option unset)
8>>> host in recipient_unqualified_hosts? no (option unset)
9>>> host in helo_verify_hosts? no (option unset)
10>>> host in helo_try_verify_hosts? no (option unset)
11>>> host in helo_accept_junk_hosts? no (option unset)
12>>> processing "accept"
13>>> check verify = recipient/callout
14>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
15>>> routing rcptuser@dane256ee.test.ex
16>>> calling client router
17>>> dane256ee.test.ex in "*"? yes (matched "*")
18>>> local host found for non-MX address
19>>> routed by client router
20>>> Attempting full verification using callout
21>>> callout cache: no domain record found for dane256ee.test.ex
22>>> callout cache: no address record found for rcptuser@dane256ee.test.ex
23>>> ip4.ip4.ip4.ip4 in hosts_require_dane? yes (matched "ip4.ip4.ip4.ip4")
24>>> interface=NULL port=1225
25>>> Connecting to dane256ee.test.ex [ip4.ip4.ip4.ip4]:1225 ... connected
26>>> SMTP<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
27>>> ip4.ip4.ip4.ip4 in hosts_avoid_esmtp? no (option unset)
28>>> SMTP>> EHLO myhost.test.ex
29>>> cmd buf flush 21 bytes
30>>> SMTP<< 250-myhost.test.ex Hello the.local.host.name [ip4.ip4.ip4.ip4]
31>>> 250-SIZE 52428800
32>>> 250-8BITMIME
33>>> 250-PIPELINING
34>>> 250-STARTTLS
35>>> 250 HELP
36>>> ip4.ip4.ip4.ip4 in hosts_avoid_tls? no (option unset)
37>>> ip4.ip4.ip4.ip4 in hosts_verify_avoid_tls? no (option unset)
38>>> SMTP>> STARTTLS
39>>> cmd buf flush 10 bytes
40>>> SMTP<< 220 TLS go ahead
41>>> ip4.ip4.ip4.ip4 in hosts_require_ocsp? no (option unset)
42>>> ip4.ip4.ip4.ip4 in hosts_request_ocsp? yes (matched "*")
43>>> SMTP>> EHLO myhost.test.ex
44>>> cmd buf flush 21 bytes
45>>> SMTP<< 250-myhost.test.ex Hello the.local.host.name [ip4.ip4.ip4.ip4]
46>>> 250-SIZE 52428800
47>>> 250-8BITMIME
48>>> 250-PIPELINING
49>>> 250 HELP
50>>> ip4.ip4.ip4.ip4 in hosts_avoid_pipelining? no (option unset)
51>>> ip4.ip4.ip4.ip4 in hosts_require_auth? no (option unset)
52>>> SMTP>> MAIL FROM:<>
53>>> SMTP>> RCPT TO:<rcptuser@dane256ee.test.ex>
54>>> cmd buf flush 52 bytes
55>>> SMTP<< 250 OK
56>>> SMTP<< 250 Accepted
57>>> SMTP>> QUIT
58>>> cmd buf flush 6 bytes
59>>> SMTP<< 221 myhost.test.ex closing connection
60>>> SMTP(close)>>
61>>> wrote callout cache domain record for dane256ee.test.ex:
62>>> result=1 postmaster=0 random=0
63>>> wrote positive callout cache address record for rcptuser@dane256ee.test.ex
64>>> ----------- end verify ------------
65>>> accept: condition test succeeded in inline ACL
66>>> end of inline ACL: ACCEPT
67LOG: unexpected disconnection while reading SMTP command from [127.0.0.1] D=qqs
570cb1bd 68### TLSA (2 0 1) (DANE-TA CERT SHA2-256)
899b8bbc
JH
69### A server with a nonverifying cert and no TLSA
70### A server with a verifying cert and no TLSA
71### A server with two MXs for which both TLSA lookups return defer (delivery should defer)
72### A server lacking a TLSA, dane required (should fail)
73### A server lacking a TLSA, dane requested only (should deliver, non-DANE, as the NXDOMAIN is not DNSSEC)
74### A server where the A is dnssec and the TLSA lookup _fails_ (delivery should defer)
75### A server securely saying "no TLSA records here", dane required (delivery should fail)
76### A server securely saying "no TLSA records here", dane requested only (should deliver)
77### A server securely serving a wrong TLSA record, dane requested only (delivery should fail)
78### A server insecurely serving a good TLSA record, dane requested only (should deliver, non-DANE)
79### A server insecurely serving a good TLSA record, dane required (delivery should fail)
80### A server insecurely serving a good A record, dane requested only (should deliver, non-DANE)
81### A server insecurely serving a good A record, dane required (delivery should fail)
94c13285 82### A server with a mixed-usage set of TLSAs - the EE-mode one failing verify (should deliver, DANE-mode)
28646fa9
JH
83### A server with a name not matching the cert. TA-mode; should fail
84### A server with a name not matching the cert. EE-mode; should deliver and claim DANE mode
899b8bbc
JH
85
86******** SERVER ********
570cb1bd
JH
87### TLSA (3 1 1) (DANE-EE SPKI SHA2-256)
88### TLSA (3 1 2) ( SHA2-512)
899b8bbc 89### Recipient callout
570cb1bd 90### TLSA (2 0 1) (DANE-TA CERT SHA2-256)
899b8bbc
JH
91### A server with a nonverifying cert and no TLSA
92### A server with a verifying cert and no TLSA
93### A server with two MXs for which both TLSA lookups return defer (delivery should defer)
94### A server lacking a TLSA, dane required (should fail)
95### A server lacking a TLSA, dane requested only (should deliver, non-DANE, as the NXDOMAIN is not DNSSEC)
96### A server where the A is dnssec and the TLSA lookup _fails_ (delivery should defer)
97### A server securely saying "no TLSA records here", dane required (delivery should fail)
98### A server securely saying "no TLSA records here", dane requested only (should deliver)
99### A server securely serving a wrong TLSA record, dane requested only (delivery should fail)
100### A server insecurely serving a good TLSA record, dane requested only (should deliver, non-DANE)
101### A server insecurely serving a good TLSA record, dane required (delivery should fail)
102### A server insecurely serving a good A record, dane requested only (should deliver, non-DANE)
103### A server insecurely serving a good A record, dane required (delivery should fail)
94c13285 104### A server with a mixed-usage set of TLSAs - the EE-mode one failing verify (should deliver, DANE-mode)
28646fa9
JH
105### A server with a name not matching the cert. TA-mode; should fail
106### A server with a name not matching the cert. EE-mode; should deliver and claim DANE mode