1 # TLS server: mandatory, optional, and revoked certificates
2 exim -DSERVER=server -bd -oX PORT_D
4 # No certificate, certificate required
5 client-ssl HOSTIPV4 PORT_D
16 # No certificate, certificate optional at TLS time, required by ACL
17 client-ssl 127.0.0.1 PORT_D
29 mail from:<userx@test.ex>
31 rcpt to:<userx@test.ex>
36 # Good certificate, certificate required
37 client-ssl HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
47 mail from:<userx@test.ex>
49 rcpt to:<userx@test.ex>
54 # Good certificate, certificate optional at TLS time, checked by ACL
55 client-ssl 127.0.0.1 PORT_D aux-fixed/cert2 aux-fixed/cert2
65 mail from:<userx@test.ex>
67 rcpt to:<userx@test.ex>
72 # Bad certificate, certificate required
73 client-ssl HOSTIPV4 PORT_D aux-fixed/cert1 aux-fixed/cert1
84 # Bad certificate, certificate optional at TLS time, reject at ACL time
85 client-ssl 127.0.0.1 PORT_D aux-fixed/cert1 aux-fixed/cert1
95 mail from:<userx@test.ex>
97 rcpt to:<userx@test.ex>
104 exim -DCRL=DIR/aux-fixed/crl.pem -DSERVER=server -bd -oX PORT_D
106 # Good but revoked certificate, certificate required
107 client-ssl HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
118 # Revoked certificate, certificate optional at TLS time, reject at ACL time
119 client-ssl 127.0.0.1 PORT_D aux-fixed/cert1 aux-fixed/cert1
129 mail from:<userx@test.ex>
131 rcpt to:<userx@test.ex>