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 =
17 # ----- Main settings -----
19 spool_wireformat = true
21 primary_hostname = testhost.test.ex
22 domainlist local_domains = @ : test.ex
27 log_selector = +received_recipients +dkim_verbose
29 log_selector = +received_recipients
33 .ifdef _OPT_MAIN_TLS_CERTIFICATE
34 tls_certificate = DIR/aux-fixed/cert1
35 tls_privatekey = DIR/aux-fixed/cert1
38 queue_run_in_order = true
44 accept condition = ${if != {$received_port}{PORT_S}}
54 condition = ${if = {$received_port}{PORT_S}}
55 transport = remote_smtp${if eq {OPT}{dkim} {_dkim}}
60 domains = ! +local_domains
61 data = :fail: unrouteable mail domain "$domain"
65 transport = local_delivery
68 # ----- Transports -----
74 file = DIR/test-mail/$local_part
75 headers_add = "X-body-linecount: $body_linecount\n\
76 X-message-linecount: $message_linecount\n\
77 X-received-count: $received_count"
96 dkim_private_key = DIR/aux-fixed/dkim/dkim.private
97 .ifndef HEADERS_MAXSIZE
98 dkim_sign_headers = LIST