1 # Exim test configuration 0901
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} {*}}
20 .ifdef _OPT_MAIN_LIMITS_ADVERTISE_HOSTS
21 limits_advertise_hosts = !*
24 pipelining_advertise_hosts = :
26 # ----- Main settings -----
28 primary_hostname = testhost.test.ex
29 domainlist local_domains = @ : test.ex
31 acl_smtp_rcpt = check_recipient
33 acl_smtp_data_prdr = check_prdr
35 acl_smtp_data = check_data
36 trusted_users = CALLER
38 smtp_receive_timeout = 2s
39 log_selector = +received_recipients
41 .ifdef _OPT_MAIN_TLS_CERTIFICATE
42 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
43 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
54 accept domains = +local_domains
55 deny message = relay not permitted
58 accept local_parts = good
62 warn message = X-acl-message-linecount: $message_linecount
71 condition = ${if !eq {SERVER}{server}}
72 transport = remote_smtp${if eq {OPT}{dkim} {_dkim}}
77 domains = ! +local_domains
78 data = :fail: unrouteable mail domain "$domain"
83 transport = local_delivery
84 headers_add = X-local-user: uid=$local_user_uid gid=$local_user_gid
87 # ----- Transports -----
95 file = DIR/test-mail/$local_part
96 create_file = DIR/test-mail
97 headers_add = "X-body-linecount: $body_linecount\n\
98 X-message-linecount: $message_linecount\n\
99 X-received-count: $received_count"
106 hosts_try_fastopen = :
115 hosts_try_fastopen = :
121 dkim_domain = test.ex
123 dkim_private_key = DIR/aux-fixed/dkim/dkim.private
124 .ifndef HEADERS_MAXSIZE
125 dkim_sign_headers = LIST