1 # Exim test configuration 2025
7 host_lookup_order = bydns
8 primary_hostname = myhost.test.ex
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/SERVER%slog
12 gecos_name = CALLER_NAME
14 # ----- Main settings -----
16 acl_smtp_rcpt = accept
18 log_selector = +tls_peerdn+tls_certificate_verified
23 tls_advertise_hosts = *
25 tls_require_ciphers = ${if eq{$sender_host_address}{HOSTIPV4}\
28 # Set certificate only if server
30 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
31 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
40 condition = ${if eq {SERVER}{server}{no}{yes}}
42 transport = send_to_server
45 # ----- Transports -----
52 hosts = HOSTIPV4 : 127.0.0.1
53 hosts_require_tls = HOSTIPV4