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
17 # No certificate, certificate optional at TLS time, required by ACL
18 client-ssl 127.0.0.1 PORT_D
31 mail from:<userx@test.ex>
33 rcpt to:<userx@test.ex>
38 # Good certificate, certificate required
39 client-ssl HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
50 mail from:<userx@test.ex>
52 rcpt to:<userx@test.ex>
57 # Good certificate, certificate optional at TLS time, checked by ACL
58 client-ssl 127.0.0.1 PORT_D aux-fixed/cert2 aux-fixed/cert2
69 mail from:<userx@test.ex>
71 rcpt to:<userx@test.ex>
76 # Bad certificate, certificate required
77 client-ssl HOSTIPV4 PORT_D aux-fixed/cert1 aux-fixed/cert1
89 # Bad certificate, certificate optional at TLS time, reject at ACL time
90 client-ssl 127.0.0.1 PORT_D aux-fixed/cert1 aux-fixed/cert1
101 mail from:<userx@test.ex>
103 rcpt to:<userx@test.ex>
110 exim -DCRL=DIR/aux-fixed/crl.pem -DSERVER=server -bd -oX PORT_D
112 # Good but revoked certificate, certificate required
113 client-ssl HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
125 # Revoked certificate, certificate optional at TLS time, reject at ACL time
126 client-ssl 127.0.0.1 PORT_D aux-fixed/cert1 aux-fixed/cert1
137 mail from:<userx@test.ex>
139 rcpt to:<userx@test.ex>