1 # Exim test configuration 5403
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 warn control = cutthrough_delivery
28 logwrite = rcpt for $local_part@$domain
29 warn condition = ${if eq {verify}{$local_part}}
30 verify = recipient/callout=use_sender
39 domains = localhost.test.ex : localhost4.test.ex : thishost.test.ex
45 domains = ! +local_domains
46 route_list = special.com HOSTIPV4 ; * 127.0.0.1
48 transport = ${if eq {special_tpt}{$local_part} {smtp2}{smtp}}
49 headers_remove = X-hdr-rtr
50 headers_add = X-hdr-rtr-new: $h_X-hdr-rtr:+++
54 # ----- Transports -----
62 headers_add = ${if def:h_X-hdr-rtr {X-hdr-tpt-new: new} {}}