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 = *
17 tls_advertise_hosts = ${if eq {SRV}{tls} {*}}
19 .ifdef _HAVE_PIPE_CONNECT
20 pipelining_connect_advertise_hosts = :
25 .ifdef _OPT_MAIN_LIMITS_ADVERTISE_HOSTS
26 limits_advertise_hosts = !*
29 # ----- Main settings -----
31 primary_hostname = testhost.test.ex
32 domainlist local_domains = @ : test.ex
34 acl_smtp_rcpt = check_recipient
36 acl_smtp_data_prdr = check_prdr
38 acl_smtp_data = check_data
39 trusted_users = CALLER
41 smtp_receive_timeout = 2s
44 log_selector = +received_recipients +connection_id +millisec +dkim_verbose
46 log_selector = +received_recipients +connection_id +millisec
50 tls_certificate = DIR/aux-fixed/cert1
61 accept domains = +local_domains
62 deny message = relay not permitted
65 accept local_parts = good
69 warn message = X-acl-message-linecount: $message_linecount
78 condition = ${if !eq {SERVER}{server}}
79 transport = remote_smtp${if eq {SRV}{dkim} {_dkim}}
84 domains = ! +local_domains
85 data = :fail: unrouteable mail domain "$domain"
90 transport = local_delivery
91 headers_add = X-local-user: uid=$local_user_uid gid=$local_user_gid
94 # ----- Transports -----
102 file = DIR/test-mail/$local_part
103 create_file = DIR/test-mail
104 headers_add = "X-body-linecount: $body_linecount\n\
105 X-message-linecount: $message_linecount\n\
106 X-received-count: $received_count"
113 hosts_try_fastopen = :
115 tls_verify_certificates = DIR/aux-fixed/cert1
116 tls_verify_cert_hostnames =
126 hosts_try_fastopen = :
128 tls_verify_certificates = DIR/aux-fixed/cert1
129 tls_verify_cert_hostnames =
137 dkim_domain = test.ex
139 dkim_private_key = DIR/aux-fixed/dkim/dkim.private
140 .ifndef HEADERS_MAXSIZE
141 dkim_sign_headers = LIST