1 # Exim test configuration 4201
9 host_lookup_order = bydns
10 spool_directory = DIR/spool
11 log_file_path = DIR/spool/log/%slog
13 gecos_name = CALLER_NAME
15 # ----- Main settings -----
17 domainlist local_domains = test.ex : cname
19 acl_smtp_rcpt = check_recipient
20 acl_not_smtp = non_smtp
22 trusted_users = CALLER
23 log_selector = +received_recipients +sender_on_delivery
30 smtputf8_advertise_hosts = OPTION
42 accept domains = +local_domains
43 local_parts = ^(xn--)?user.*\$
44 deny message = relay not permitted
76 domains = ! +local_domains
77 data = :fail: unrouteable mail domain "$domain"
81 condition = ${if eq {} {$sender_address}}
82 data = DIR/test-mail/$local_part
83 file_transport = local_delivery
94 data = DIR/test-mail/$local_part
95 file_transport = local_delivery
99 domains = +local_domains
100 route_data = <;[127.0.0.1]:PORT_D
106 # ----- Transports -----
115 file = DIR/test-mail/$local_part
116 headers_add = "X-body-linecount: $body_linecount\n\
117 X-message-linecount: $message_linecount\n\
118 X-received-count: $received_count"