1 # Exim test configuration 4201
9 .include DIR/aux-var/std_conf_prefix
12 # ----- Main settings -----
14 domainlist local_domains = test.ex : cname
16 acl_smtp_rcpt = check_recipient
17 acl_not_smtp = non_smtp
19 trusted_users = CALLER
20 log_selector = +received_recipients +sender_on_delivery
27 smtputf8_advertise_hosts = OPTION
41 accept domains = +local_domains
42 local_parts = ^(xn--)?user.*\$
43 deny message = relay not permitted
75 domains = ! +local_domains
76 data = :fail: unrouteable mail domain "$domain"
80 condition = ${if eq {} {$sender_address}}
81 data = DIR/test-mail/$local_part
82 file_transport = local_delivery
93 data = DIR/test-mail/$local_part
94 file_transport = local_delivery
99 data = ${substr_1:$local_part}@$domain
103 domains = +local_domains
104 route_data = <;[127.0.0.1]:PORT_D
110 # ----- Transports -----
119 file = DIR/test-mail/$local_part
120 headers_add = "X-body-linecount: $body_linecount\n\
121 X-message-linecount: $message_linecount\n\
122 X-received-count: $received_count"