1 # Exim test configuration 2035
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+smtp_connection+incoming_port+received_recipients
17 remote_max_parallel = 1
19 smtp_accept_max_nonmail = 0
21 tls_advertise_hosts = *
23 # Set certificate only if server
25 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
26 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
35 condition = ${if eq {SERVER}{server}{no}{yes}}
36 route_data = 127.0.0.1
39 transport = send_to_server
44 transport = local_delivery
47 # ----- Transports -----
53 file = DIR/test-mail/$local_part
54 headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn