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_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
25 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
26 tls_advertise_hosts = *
28 smtputf8_advertise_hosts = OPTION
40 accept domains = +local_domains
41 local_parts = ^user.*\$
42 deny message = relay not permitted
71 domains = ! +local_domains
72 data = :fail: unrouteable mail domain "$domain"
76 condition = ${if eq {} {$sender_address}}
77 data = DIR/test-mail/$local_part
78 file_transport = local_delivery
89 data = DIR/test-mail/$local_part
90 file_transport = local_delivery
94 domains = +local_domains
95 route_data = <;[127.0.0.1]:PORT_D
101 # ----- Transports -----
110 file = DIR/test-mail/$local_part
111 headers_add = "X-body-linecount: $body_linecount\n\
112 X-message-linecount: $message_linecount\n\
113 X-received-count: $received_count"
118 hosts_try_fastopen = :
119 hosts_require_tls = *
120 tls_try_verify_hosts = :