1 # Exim test configuration 4201
10 host_lookup_order = bydns
11 spool_directory = DIR/spool
12 log_file_path = DIR/spool/log/%slog
14 gecos_name = CALLER_NAME
16 # ----- Main settings -----
18 domainlist local_domains = test.ex : cname
20 acl_smtp_rcpt = check_recipient
21 acl_not_smtp = non_smtp
23 trusted_users = CALLER
24 log_selector = +received_recipients +sender_on_delivery
31 smtputf8_advertise_hosts = OPTION
45 accept domains = +local_domains
46 local_parts = ^(xn--)?user.*\$
47 deny message = relay not permitted
79 domains = ! +local_domains
80 data = :fail: unrouteable mail domain "$domain"
84 condition = ${if eq {} {$sender_address}}
85 data = DIR/test-mail/$local_part
86 file_transport = local_delivery
97 data = DIR/test-mail/$local_part
98 file_transport = local_delivery
102 domains = +local_domains
103 route_data = <;[127.0.0.1]:PORT_D
109 # ----- Transports -----
118 file = DIR/test-mail/$local_part
119 headers_add = "X-body-linecount: $body_linecount\n\
120 X-message-linecount: $message_linecount\n\
121 X-received-count: $received_count"