1 # Exim test configuration 2108
6 host_lookup_order = bydns
7 primary_hostname = myhost.test.ex
8 spool_directory = DIR/spool
9 log_file_path = DIR/spool/log/SERVER%slog
11 gecos_name = CALLER_NAME
14 # ----- Main settings -----
16 domainlist local_domains = test.ex : *.test.ex
18 acl_smtp_rcpt = check_recipient
19 log_selector = +tls_peerdn
22 remote_max_parallel = 1
24 tls_advertise_hosts = *
26 # Set certificate only if server
28 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
36 accept domains = +local_domains
37 deny message = relay not permitted
46 condition = ${if eq {SERVER}{server}{no}{yes}}
48 transport = send_to_server${if eq{$local_part}{abcd}{2}{1}}
53 transport = local_delivery
56 # ----- Transports -----
62 file = DIR/test-mail/$local_part
63 headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
71 helo_data = helo.data.changed