1 # Exim test configuration 4539
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 limits_advertise_hosts = !*
23 # ----- Main settings -----
25 spool_wireformat = true
27 primary_hostname = testhost.test.ex
28 domainlist local_domains = @ : test.ex
33 log_selector = +received_recipients +dkim_verbose
35 log_selector = +received_recipients
39 .ifdef _OPT_MAIN_TLS_CERTIFICATE
40 tls_certificate = DIR/aux-fixed/cert1
41 tls_privatekey = DIR/aux-fixed/cert1
44 queue_run_in_order = true
50 accept condition = ${if != {$received_port}{PORT_S}}
60 condition = ${if = {$received_port}{PORT_S}}
61 transport = remote_smtp${if eq {OPT}{dkim} {_dkim}}
66 domains = ! +local_domains
67 data = :fail: unrouteable mail domain "$domain"
71 transport = local_delivery
74 # ----- Transports -----
80 file = DIR/test-mail/$local_part
81 create_file = DIR/test-mail
82 headers_add = "X-body-linecount: $body_linecount\n\
83 X-message-linecount: $message_linecount\n\
84 X-received-count: $received_count"
92 hosts_try_fastopen = :
94 tls_verify_certificates = DIR/aux-fixed/cert1
95 tls_verify_cert_hostnames = :
101 hosts_try_fastopen = :
103 tls_verify_certificates = DIR/aux-fixed/cert1
104 tls_verify_cert_hostnames = :
107 dkim_domain = test.ex
109 dkim_private_key = DIR/aux-fixed/dkim/dkim.private
110 .ifndef HEADERS_MAXSIZE
111 dkim_sign_headers = LIST