1 # Exim test configuration 5400
5 host_lookup_order = bydns
6 primary_hostname = myhost.test.ex
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
10 gecos_name = CALLER_NAME
13 log_selector = +received_recipients
15 # ----- Main settings -----
17 domainlist local_domains = test.ex : *.test.ex
27 accept control = cutthrough_delivery
28 logwrite = rcpt for $local_part@$domain
36 domains = localhost.test.ex : localhost4.test.ex : thishost.test.ex
42 domains = ! +local_domains
43 route_list = special.com HOSTIPV4 ; * 127.0.0.1
45 transport = ${if eq {special_tpt}{$local_part} {smtp2}{smtp}}
46 headers_remove = X-hdr-rtr
47 headers_add = X-hdr-rtr-new: $h_X-hdr-rtr:+++
52 # ----- Transports -----
60 headers_add = ${if def:h_X-hdr-rtr {X-hdr-tpt-new: new} {}}