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
12 log_selector = +received_recipients
14 # ----- Main settings -----
16 domainlist local_domains = test.ex : *.test.ex
26 accept control = cutthrough_delivery
27 logwrite = rcpt for $local_part@$domain
35 domains = localhost.test.ex : localhost4.test.ex : thishost.test.ex
41 domains = ! +local_domains
42 route_list = special.com HOSTIPV4 ; * 127.0.0.1
44 transport = ${if eq {special_tpt}{$local_part} {smtp2}{smtp}}
45 headers_remove = X-hdr-rtr
46 headers_add = X-hdr-rtr-new: $h_X-hdr-rtr:+++
50 # ----- Transports -----
58 headers_add = ${if def:h_X-hdr-rtr {X-hdr-tpt-new: new} {}}