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
18 # ----- Main settings -----
20 domainlist local_domains = test.ex : cname
22 acl_smtp_rcpt = check_recipient
23 acl_not_smtp = non_smtp
25 trusted_users = CALLER
26 log_selector = +received_recipients +sender_on_delivery
33 smtputf8_advertise_hosts = OPTION
47 accept domains = +local_domains
48 local_parts = ^(xn--)?user.*\$
49 deny message = relay not permitted
81 domains = ! +local_domains
82 data = :fail: unrouteable mail domain "$domain"
86 condition = ${if eq {} {$sender_address}}
87 data = DIR/test-mail/$local_part
88 file_transport = local_delivery
99 data = DIR/test-mail/$local_part
100 file_transport = local_delivery
104 domains = +local_domains
105 route_data = <;[127.0.0.1]:PORT_D
111 # ----- Transports -----
120 file = DIR/test-mail/$local_part
121 headers_add = "X-body-linecount: $body_linecount\n\
122 X-message-linecount: $message_linecount\n\
123 X-received-count: $received_count"