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} {*}}
13 .ifdef _HAVE_PIPE_CONNECT
14 pipelining_connect_advertise_hosts =
20 # ----- Main settings -----
22 spool_wireformat = true
24 primary_hostname = testhost.test.ex
25 domainlist local_domains = @ : test.ex
30 log_selector = +received_recipients +dkim_verbose
32 log_selector = +received_recipients
36 .ifdef _OPT_MAIN_TLS_CERTIFICATE
37 tls_certificate = DIR/aux-fixed/cert1
38 tls_privatekey = DIR/aux-fixed/cert1
41 queue_run_in_order = true
47 accept condition = ${if != {$received_port}{PORT_S}}
57 condition = ${if = {$received_port}{PORT_S}}
58 transport = remote_smtp${if eq {OPT}{dkim} {_dkim}}
63 domains = ! +local_domains
64 data = :fail: unrouteable mail domain "$domain"
68 transport = local_delivery
71 # ----- Transports -----
77 file = DIR/test-mail/$local_part
78 headers_add = "X-body-linecount: $body_linecount\n\
79 X-message-linecount: $message_linecount\n\
80 X-received-count: $received_count"
99 dkim_private_key = DIR/aux-fixed/dkim/dkim.private
100 .ifndef HEADERS_MAXSIZE
101 dkim_sign_headers = LIST