1 # Exim test configuration 2025
5 .include DIR/aux-var/tls_conf_prefix
7 primary_hostname = myhost.test.ex
9 # ----- Main settings -----
11 acl_smtp_rcpt = accept
13 log_selector = +tls_peerdn+tls_certificate_verified
18 tls_advertise_hosts = *
20 tls_require_ciphers = NORMAL:-VERS-ALL:+VERS-TLS1.2:-MAC-ALL:+SHA256
22 # Set certificate only if server
24 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
25 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
34 condition = ${if eq {SERVER}{server}{no}{yes}}
36 transport = send_to_server
39 # ----- Transports -----
46 hosts = HOSTIPV4 : 127.0.0.1
48 hosts_require_tls = HOSTIPV4
49 tls_require_ciphers = NORMAL:-VERS-ALL:+VERS-TLS1.2:-MAC-ALL:+SHA\
50 ${if eq{$host}{HOSTIPV4} {384} {256} }