1 # Exim test configuration 2111
5 .include DIR/aux-var/tls_conf_prefix
7 primary_hostname = myhost.test.ex
9 # ----- Main settings -----
11 acl_smtp_rcpt = accept
12 log_selector = +tls_peerdn
16 tls_advertise_hosts = *
18 # Set certificate only if server
20 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
21 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
24 tls_verify_certificates = ${if eq {SERVER}{server}{DIR/aux-fixed/cert2}fail}
33 condition = ${if eq {SERVER}{server}{no}{yes}}
35 transport = send_to_server
38 # ----- Transports -----
45 hosts = HOSTIPV4 : 127.0.0.1
46 hosts_require_tls = HOSTIPV4
48 tls_certificate = DIR/aux-fixed/cert2
49 tls_privatekey = DIR/aux-fixed/cert2
50 tls_require_ciphers = IDEA-CBC-MD5 \
51 ${if eq{$host_address}{127.0.0.1}{:AES256-SHA:RSA_ARCFOUR_SHA}}