1 # Exim test configuration 2007
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 = +smtp_confirmation+tls_peerdn
18 tls_advertise_hosts = *
19 tls_require_ciphers = NORMAL:!DHE-RSA:!DHE-DSS:!ECDHE-RSA:!ECDHE-ECDSA:!ECDHE-PSK
21 # Set certificate only if server
23 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
24 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
33 condition = ${if eq {SERVER}{server}{no}{yes}}
35 transport = send_to_server${if eq{$local_part}{abcd}{2}{1}}
40 transport = local_delivery
43 # ----- Transports -----
49 file = DIR/test-mail/$local_part
50 headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn