1 # Exim test configuration 0906
6 host_lookup_order = bydns
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/SERVER%slog
10 gecos_name = CALLER_NAME
11 chunking_advertise_hosts = *
12 tls_advertise_hosts = ${if eq {SRV}{tls} {*}}
14 # ----- Main settings -----
16 spool_wireformat = true
18 primary_hostname = testhost.test.ex
19 domainlist local_domains = @ : test.ex
21 acl_smtp_rcpt = accept
22 log_selector = +received_recipients
24 .ifdef _OPT_MAIN_TLS_CERTIFICATE
25 tls_certificate = DIR/aux-fixed/cert1
26 tls_privatekey = DIR/aux-fixed/cert1
37 condition = ${if = {$received_port}{PORT_S}}
38 transport = remote_smtp${if eq {OPT}{dkim} {_dkim}}
43 domains = ! +local_domains
44 data = :fail: unrouteable mail domain "$domain"
48 transport = local_delivery
51 # ----- Transports -----
57 file = DIR/test-mail/$local_part
58 headers_add = "X-body-linecount: $body_linecount\n\
59 X-message-linecount: $message_linecount\n\
60 X-received-count: $received_count"
79 dkim_private_key = DIR/aux-fixed/dkim/dkim.private
80 .ifndef HEADERS_MAXSIZE
81 dkim_sign_headers = LIST