1 # Exim test configuration 0900
9 host_lookup_order = bydns
10 spool_directory = DIR/spool
11 log_file_path = DIR/spool/log/SERVER%slog
13 gecos_name = CALLER_NAME
14 chunking_advertise_hosts = *
15 tls_advertise_hosts = ${if eq {SRV}{tls} {*}}
17 tls_advertise_requiretls = :
19 .ifdef _HAVE_PIPE_CONNECT
20 pipelining_connect_advertise_hosts = :
27 # ----- Main settings -----
29 primary_hostname = testhost.test.ex
30 domainlist local_domains = @ : test.ex
32 acl_smtp_rcpt = check_recipient
33 acl_smtp_data_prdr = check_prdr
34 acl_smtp_data = check_data
35 trusted_users = CALLER
37 smtp_receive_timeout = 2s
40 log_selector = +received_recipients +dkim_verbose
42 log_selector = +received_recipients
45 .ifdef _OPT_MAIN_TLS_CERTIFICATE
46 tls_certificate = DIR/aux-fixed/cert1
57 accept domains = +local_domains
58 deny message = relay not permitted
61 accept local_parts = good
65 warn message = X-acl-message-linecount: $message_linecount
74 condition = ${if !eq {SERVER}{server}}
75 transport = remote_smtp${if eq {SRV}{dkim} {_dkim}}
80 domains = ! +local_domains
81 data = :fail: unrouteable mail domain "$domain"
86 transport = local_delivery
87 headers_add = X-local-user: uid=$local_user_uid gid=$local_user_gid
90 # ----- Transports -----
98 file = DIR/test-mail/${bless:$local_part}
99 headers_add = "X-body-linecount: $body_linecount\n\
100 X-message-linecount: $message_linecount\n\
101 X-received-count: $received_count"
108 hosts_try_fastopen = :
109 tls_verify_certificates = DIR/aux-fixed/cert1
110 tls_verify_cert_hostnames =
119 hosts_try_fastopen = :
120 tls_verify_certificates = DIR/aux-fixed/cert1
121 tls_verify_cert_hostnames =
128 dkim_domain = test.ex
130 dkim_private_key = DIR/aux-fixed/dkim/dkim.private
131 .ifndef HEADERS_MAXSIZE
132 dkim_sign_headers = LIST