1 # Exim test configuration 4201
7 .include DIR/aux-var/tls_conf_prefix
9 # ----- Main settings -----
11 domainlist local_domains = test.ex : cname
13 acl_smtp_rcpt = check_recipient
14 acl_not_smtp = non_smtp
16 trusted_users = CALLER
17 log_selector = +received_recipients +sender_on_delivery
24 tls_advertise_hosts = *
25 tls_certificate = DIR/aux-fixed/cert1
27 smtputf8_advertise_hosts = OPTION
39 accept domains = +local_domains
40 local_parts = ^user.*\$
41 deny message = relay not permitted
70 domains = ! +local_domains
71 data = :fail: unrouteable mail domain "$domain"
75 condition = ${if eq {} {$sender_address}}
76 data = DIR/test-mail/$local_part
77 file_transport = local_delivery
88 data = DIR/test-mail/$local_part
89 file_transport = local_delivery
93 domains = +local_domains
94 route_data = <;[127.0.0.1]:PORT_D
100 # ----- Transports -----
109 file = DIR/test-mail/${bless:$local_part}
110 headers_add = "X-body-linecount: $body_linecount\n\
111 X-message-linecount: $message_linecount\n\
112 X-received-count: $received_count"
117 hosts_try_fastopen = :
118 hosts_require_tls = *
119 tls_verify_certificates = DIR/aux-fixed/cert1
120 tls_verify_cert_hostnames = :