1 # Exim test configuration 0900
9 add_environment = SSLKEYLOGFILE=DIR/spool/sslkeys
10 host_lookup_order = bydns
11 spool_directory = DIR/spool
12 log_file_path = DIR/spool/log/SERVER%slog
14 gecos_name = CALLER_NAME
15 chunking_advertise_hosts = *
16 tls_advertise_hosts = ${if eq {SRV}{tls} {*}}
18 tls_advertise_requiretls = :
20 .ifdef _HAVE_PIPE_CONNECT
21 pipelining_connect_advertise_hosts = :
26 .ifdef _OPT_MAIN_LIMITS_ADVERTISE_HOSTS
27 limits_advertise_hosts = !*
30 # ----- Main settings -----
32 primary_hostname = testhost.test.ex
33 domainlist local_domains = @ : test.ex
35 acl_smtp_rcpt = check_recipient
36 acl_smtp_data_prdr = check_prdr
37 acl_smtp_data = check_data
38 trusted_users = CALLER
40 smtp_receive_timeout = 2s
43 log_selector = +received_recipients +millisec +dkim_verbose
45 log_selector = +received_recipients +millisec
48 .ifdef _OPT_MAIN_TLS_CERTIFICATE
49 tls_certificate = DIR/aux-fixed/cert1
60 accept domains = +local_domains
61 deny message = relay not permitted
64 accept local_parts = good
68 warn message = X-acl-message-linecount: $message_linecount
77 condition = ${if !eq {SERVER}{server}}
78 transport = remote_smtp${if eq {SRV}{dkim} {_dkim}}
83 domains = ! +local_domains
84 data = :fail: unrouteable mail domain "$domain"
89 transport = local_delivery
90 headers_add = X-local-user: uid=$local_user_uid gid=$local_user_gid
93 # ----- Transports -----
101 file = DIR/test-mail/$local_part
102 create_file = DIR/test-mail
103 headers_add = "X-body-linecount: $body_linecount\n\
104 X-message-linecount: $message_linecount\n\
105 X-received-count: $received_count"
112 hosts_try_fastopen = :
113 tls_verify_certificates = DIR/aux-fixed/cert1
114 tls_verify_cert_hostnames =
123 hosts_try_fastopen = :
124 tls_verify_certificates = DIR/aux-fixed/cert1
125 tls_verify_cert_hostnames =
132 dkim_domain = test.ex
134 dkim_private_key = DIR/aux-fixed/dkim/dkim.private
135 .ifndef HEADERS_MAXSIZE
136 dkim_sign_headers = LIST