1 # TLS server: mandatory, optional, and revoked certificates
3 exim -DSERVER=server -bd -oX PORT_D
5 # No certificate, certificate required
6 client-gnutls HOSTIPV4 PORT_D
18 # No certificate, certificate optional at TLS time, required by ACL
19 client-gnutls 127.0.0.1 PORT_D
32 mail from:<userx@test.ex>
34 rcpt to:<userx@test.ex>
39 # Good certificate, certificate required
40 client-gnutls HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
51 mail from:<userx@test.ex>
53 rcpt to:<userx@test.ex>
58 # Good certificate, certificate optional at TLS time, checked by ACL
59 client-gnutls 127.0.0.1 PORT_D aux-fixed/cert2 aux-fixed/cert2
70 mail from:<userx@test.ex>
72 rcpt to:<userx@test.ex>
77 # Bad certificate, certificate required
78 client-gnutls HOSTIPV4 PORT_D aux-fixed/cert1 aux-fixed/cert1
90 # Bad certificate, certificate optional at TLS time, reject at ACL time
91 client-gnutls 127.0.0.1 PORT_D aux-fixed/cert1 aux-fixed/cert1
102 mail from:<userx@test.ex>
104 rcpt to:<userx@test.ex>
111 exim -DCRL=DIR/aux-fixed/crl.pem -DSERVER=server -bd -oX PORT_D
113 # Good but revoked certificate, certificate required
114 client-gnutls HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
126 # Revoked certificate, certificate optional at TLS time, reject at ACL time
127 client-gnutls 127.0.0.1 PORT_D aux-fixed/cert1 aux-fixed/cert1
138 mail from:<userx@test.ex>
140 rcpt to:<userx@test.ex>