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 {Y}{tls} {*}}
18 # ----- Main settings -----
20 domainlist local_domains = @ : test.ex
22 acl_smtp_rcpt = check_recipient
23 acl_smtp_data = check_data
24 trusted_users = CALLER
26 smtp_receive_timeout = 2s
27 log_selector = +received_recipients
29 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
30 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
38 accept domains = +local_domains
39 deny message = relay not permitted
42 warn message = X-acl-message-linecount: $message_linecount
52 condition = ${if !eq {SERVER}{server}}
53 transport = remote_smtp${if eq {X}{dkim} {_dkim}}
58 domains = ! +local_domains
59 data = :fail: unrouteable mail domain "$domain"
64 transport = local_delivery
65 headers_add = X-local-user: uid=$local_user_uid gid=$local_user_gid
68 # ----- Transports -----
76 file = DIR/test-mail/$local_part
77 headers_add = "X-body-linecount: $body_linecount\n\
78 X-message-linecount: $message_linecount\n\
79 X-received-count: $received_count"
100 dkim_private_key = DIR/aux-fixed/dkim/dkim.private
101 .ifndef HEADERS_MAXSIZE
102 dkim_sign_headers = OPT