1 # Exim test configuration 4201
11 host_lookup_order = bydns
12 spool_directory = DIR/spool
13 log_file_path = DIR/spool/log/%slog
15 gecos_name = CALLER_NAME
17 # ----- Main settings -----
19 domainlist local_domains = test.ex : cname
21 acl_smtp_rcpt = check_recipient
22 acl_not_smtp = non_smtp
24 trusted_users = CALLER
25 log_selector = +received_recipients +sender_on_delivery
32 smtputf8_advertise_hosts = OPTION
46 accept domains = +local_domains
47 local_parts = ^(xn--)?user.*\$
48 deny message = relay not permitted
80 domains = ! +local_domains
81 data = :fail: unrouteable mail domain "$domain"
85 condition = ${if eq {} {$sender_address}}
86 data = DIR/test-mail/$local_part
87 file_transport = local_delivery
98 data = DIR/test-mail/$local_part
99 file_transport = local_delivery
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"