1 # Exim test configuration 2013
6 .include DIR/aux-var/tls_conf_prefix
8 primary_hostname = myhost.test.ex
10 # ----- Main settings -----
12 acl_smtp_rcpt = accept
14 log_selector = +tls_peerdn+smtp_connection+incoming_port+received_recipients
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}
38 transport = send_to_server
44 condition = ${if eq {SERVER}{server}{no}{yes}}
46 transport = send_to_server
51 transport = local_delivery
54 # ----- Transports -----
60 file = DIR/test-mail/$local_part
61 headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
69 hosts_noproxy_tls = PEX
71 tls_try_verify_hosts = :