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
35 acl_smtp_data_prdr = check_prdr
36 acl_smtp_data = check_data
37 trusted_users = CALLER
39 smtp_receive_timeout = 2s
42 log_selector = +received_recipients +millisec +dkim_verbose
44 log_selector = +received_recipients +millisec
48 tls_certificate = DIR/aux-fixed/cert1
59 accept domains = +local_domains
60 deny message = relay not permitted
63 accept local_parts = good
67 warn message = X-acl-message-linecount: $message_linecount
76 condition = ${if !eq {SERVER}{server}}
77 transport = remote_smtp${if eq {SRV}{dkim} {_dkim}}
82 domains = ! +local_domains
83 data = :fail: unrouteable mail domain "$domain"
88 transport = local_delivery
89 headers_add = X-local-user: uid=$local_user_uid gid=$local_user_gid
92 # ----- Transports -----
100 file = DIR/test-mail/$local_part
101 create_file = DIR/test-mail
102 headers_add = "X-body-linecount: $body_linecount\n\
103 X-message-linecount: $message_linecount\n\
104 X-received-count: $received_count"
111 hosts_try_fastopen = :
113 tls_verify_certificates = DIR/aux-fixed/cert1
114 tls_verify_cert_hostnames =
124 hosts_try_fastopen = :
126 tls_verify_certificates = DIR/aux-fixed/cert1
127 tls_verify_cert_hostnames =
135 dkim_domain = test.ex
137 dkim_private_key = DIR/aux-fixed/dkim/dkim.private
138 .ifndef HEADERS_MAXSIZE
139 dkim_sign_headers = LIST