1 # Exim test configuration 2108
5 .include DIR/aux-var/tls_conf_prefix
7 primary_hostname = myhost.test.ex
9 # ----- Main settings -----
11 domainlist local_domains = test.ex : *.test.ex
13 acl_smtp_rcpt = check_recipient
14 log_selector = +tls_peerdn
17 remote_max_parallel = 1
19 tls_advertise_hosts = *
21 # Set certificate only if server
23 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
30 accept domains = +local_domains
31 deny message = relay not permitted
40 condition = ${if eq {SERVER}{server}{no}{yes}}
42 transport = send_to_server${if eq{$local_part}{abcd}{2}{1}}
47 transport = local_delivery
50 # ----- Transports -----
56 file = DIR/test-mail/$local_part
57 headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
65 helo_data = helo.data.changed