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 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
31 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
32 tls_advertise_hosts = *
34 smtputf8_advertise_hosts = OPTION
46 accept domains = +local_domains
47 local_parts = ^user.*\$
48 deny message = relay not permitted
77 domains = ! +local_domains
78 data = :fail: unrouteable mail domain "$domain"
82 condition = ${if eq {} {$sender_address}}
83 data = DIR/test-mail/$local_part
84 file_transport = local_delivery
95 data = DIR/test-mail/$local_part
96 file_transport = local_delivery
100 domains = +local_domains
101 route_data = <;[127.0.0.1]:PORT_D
107 # ----- Transports -----
116 file = DIR/test-mail/$local_part
117 headers_add = "X-body-linecount: $body_linecount\n\
118 X-message-linecount: $message_linecount\n\
119 X-received-count: $received_count"
124 hosts_require_tls = *
125 tls_try_verify_hosts = :