1 # Exim test configuration 2108
7 host_lookup_order = bydns
8 primary_hostname = myhost.test.ex
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/SERVER%slog
12 gecos_name = CALLER_NAME
15 # ----- Main settings -----
17 domainlist local_domains = test.ex : *.test.ex
19 acl_smtp_rcpt = check_recipient
20 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}{DIR/aux-fixed/cert1}fail}
37 accept domains = +local_domains
38 deny message = relay not permitted
47 condition = ${if eq {SERVER}{server}{no}{yes}}
49 transport = send_to_server${if eq{$local_part}{abcd}{2}{1}}
54 transport = local_delivery
57 # ----- Transports -----
63 file = DIR/test-mail/$local_part
64 headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
72 helo_data = helo.data.changed