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 = :
24 # ----- Main settings -----
26 primary_hostname = testhost.test.ex
27 domainlist local_domains = @ : test.ex
29 acl_smtp_rcpt = check_recipient
30 acl_smtp_data_prdr = check_prdr
31 acl_smtp_data = check_data
32 trusted_users = CALLER
34 smtp_receive_timeout = 2s
37 log_selector = +received_recipients +dkim_verbose
39 log_selector = +received_recipients
42 .ifdef _OPT_MAIN_TLS_CERTIFICATE
43 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
44 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
55 accept domains = +local_domains
56 deny message = relay not permitted
59 accept local_parts = good
63 warn message = X-acl-message-linecount: $message_linecount
72 condition = ${if !eq {SERVER}{server}}
73 transport = remote_smtp${if eq {SRV}{dkim} {_dkim}}
78 domains = ! +local_domains
79 data = :fail: unrouteable mail domain "$domain"
84 transport = local_delivery
85 headers_add = X-local-user: uid=$local_user_uid gid=$local_user_gid
88 # ----- Transports -----
96 file = DIR/test-mail/$local_part
97 headers_add = "X-body-linecount: $body_linecount\n\
98 X-message-linecount: $message_linecount\n\
99 X-received-count: $received_count"
120 dkim_domain = test.ex
122 dkim_private_key = DIR/aux-fixed/dkim/dkim.private
123 .ifndef HEADERS_MAXSIZE
124 dkim_sign_headers = LIST