1 # Exim test configuration 4201
7 host_lookup_order = bydns
8 spool_directory = DIR/spool
9 log_file_path = DIR/spool/log/%slog
11 gecos_name = CALLER_NAME
13 # ----- Main settings -----
15 domainlist local_domains = test.ex
17 acl_smtp_rcpt = check_recipient
18 acl_not_smtp = non_smtp
20 trusted_users = CALLER
21 log_selector = +received_recipients +sender_on_delivery
28 smtputf8_advertise_hosts = OPTION
41 accept domains = +local_domains
42 deny message = relay not permitted
59 domains = ! +local_domains
60 data = :fail: unrouteable mail domain "$domain"
64 condition = ${if eq {} {$sender_address}}
65 data = DIR/test-mail/$local_part
66 file_transport = local_delivery
77 data = DIR/test-mail/$local_part
78 file_transport = local_delivery
82 domains = +local_domains
83 route_data = <;[127.0.0.1]:PORT_D
89 # ----- Transports -----
98 file = DIR/test-mail/$local_part
99 headers_add = "X-body-linecount: $body_linecount\n\
100 X-message-linecount: $message_linecount\n\
101 X-received-count: $received_count"