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
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
29 queue_run_in_order = true
35 accept condition = ${if != {$received_port}{PORT_S}}
45 condition = ${if = {$received_port}{PORT_S}}
46 transport = remote_smtp${if eq {OPT}{dkim} {_dkim}}
51 domains = ! +local_domains
52 data = :fail: unrouteable mail domain "$domain"
56 transport = local_delivery
59 # ----- Transports -----
65 file = DIR/test-mail/$local_part
66 headers_add = "X-body-linecount: $body_linecount\n\
67 X-message-linecount: $message_linecount\n\
68 X-received-count: $received_count"
87 dkim_private_key = DIR/aux-fixed/dkim/dkim.private
88 .ifndef HEADERS_MAXSIZE
89 dkim_sign_headers = LIST