1 # Exim test configuration 5601
2 # OCSP stapling, client
7 keep_environment = ^EXIM_TESTHARNESS_DISABLE_[O]CSPVALIDITYCHECK$
8 host_lookup_order = bydns
9 primary_hostname = server1.example.com
10 rfc1413_query_timeout = 0s
11 spool_directory = DIR/spool
12 log_file_path = DIR/spool/log/SERVER%slog
14 gecos_name = CALLER_NAME
17 # ----- Main settings -----
19 domainlist local_domains = test.ex : *.test.ex
21 acl_smtp_rcpt = check_recipient
22 log_selector = +tls_peerdn
23 remote_max_parallel = 1
25 tls_advertise_hosts = *
27 # Set certificate only if server
29 tls_certificate = ${if eq {SERVER}{server}\
30 {DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.chain.pem}\
34 #{DIR/aux-fixed/exim-ca/example.com/CA/CA.pem}\
36 tls_privatekey = ${if eq {SERVER}{server}\
37 {DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key}\
48 accept domains = +local_domains
49 deny message = relay not permitted
58 condition = ${if eq {SERVER}{server}{no}{yes}}
60 transport = send_to_server${if eq{$local_part}{nostaple}{1} \
61 {${if eq{$local_part}{smtps} {3}{2}}} \
68 #transport = local_delivery
71 # ----- Transports -----
77 file = DIR/test-mail/$local_part
78 headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
86 tls_verify_certificates = DIR/aux-fixed/exim-ca/example.com/CA/CA.pem
95 helo_data = helo.data.changed
96 #tls_verify_certificates = DIR/aux-fixed/exim-ca/example.com/server1.example.com/ca_chain.pem
97 tls_verify_certificates = DIR/aux-fixed/exim-ca/example.com/CA/CA.pem
99 hosts_require_ocsp = *
106 helo_data = helo.data.changed
107 #tls_verify_certificates = DIR/aux-fixed/exim-ca/example.com/server1.example.com/ca_chain.pem
108 tls_verify_certificates = DIR/aux-fixed/exim-ca/example.com/CA/CA.pem
110 hosts_require_tls = *
111 hosts_require_ocsp = *