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 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
30 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
31 tls_advertise_hosts = *
33 smtputf8_advertise_hosts = OPTION
45 accept domains = +local_domains
46 local_parts = ^user.*\$
47 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"
123 hosts_require_tls = *
124 tls_try_verify_hosts = :