1 # Exim test configuration 4201
8 host_lookup_order = bydns
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/%slog
12 gecos_name = CALLER_NAME
14 # ----- Main settings -----
16 domainlist local_domains = test.ex : cname
18 acl_smtp_rcpt = check_recipient
19 acl_not_smtp = non_smtp
21 trusted_users = CALLER
22 log_selector = +received_recipients +sender_on_delivery
29 smtputf8_advertise_hosts = OPTION
41 accept domains = +local_domains
42 local_parts = ^user.*\$
43 deny message = relay not permitted
72 domains = ! +local_domains
73 data = :fail: unrouteable mail domain "$domain"
77 condition = ${if eq {} {$sender_address}}
78 data = DIR/test-mail/$local_part
79 file_transport = local_delivery
90 data = DIR/test-mail/$local_part
91 file_transport = local_delivery
95 domains = +local_domains
96 route_data = <;[127.0.0.1]:PORT_D
102 # ----- Transports -----
111 file = DIR/test-mail/$local_part
112 headers_add = "X-body-linecount: $body_linecount\n\
113 X-message-linecount: $message_linecount\n\
114 X-received-count: $received_count"