1 # Exim test configuration 5400
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
9 gecos_name = CALLER_NAME
11 log_selector = +received_recipients
13 # ----- Main settings -----
15 domainlist local_domains = test.ex : *.test.ex
25 accept control = cutthrough_delivery
26 logwrite = rcpt for $local_part@$domain
34 domains = localhost.test.ex : thishost.test.ex
40 domains = ! +local_domains
41 route_list = special.com HOSTIPV4 ; * 127.0.0.1
43 transport = ${if eq {special_tpt}{$local_part} {smtp2}{smtp}}
44 headers_remove = X-hdr-rtr
45 headers_add = X-hdr-rtr-new: $h_X-hdr-rtr:+++
49 # ----- Transports -----
57 headers_add = ${if def:h_X-hdr-rtr {X-hdr-tpt-new: new} {}}