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
24 log_selector = +received_recipients +dkim_verbose
26 log_selector = +received_recipients
30 .ifdef _OPT_MAIN_TLS_CERTIFICATE
31 tls_certificate = DIR/aux-fixed/cert1
32 tls_privatekey = DIR/aux-fixed/cert1
35 queue_run_in_order = true
41 accept condition = ${if != {$received_port}{PORT_S}}
51 condition = ${if = {$received_port}{PORT_S}}
52 transport = remote_smtp${if eq {OPT}{dkim} {_dkim}}
57 domains = ! +local_domains
58 data = :fail: unrouteable mail domain "$domain"
62 transport = local_delivery
65 # ----- Transports -----
71 file = DIR/test-mail/$local_part
72 headers_add = "X-body-linecount: $body_linecount\n\
73 X-message-linecount: $message_linecount\n\
74 X-received-count: $received_count"
93 dkim_private_key = DIR/aux-fixed/dkim/dkim.private
94 .ifndef HEADERS_MAXSIZE
95 dkim_sign_headers = LIST