Fix logging all_parents for cutthrough delivery. Bug 2296
[exim.git] / test / confs / 5400
CommitLineData
528fde2a
JH
1# Exim test configuration 5400
2
06fdb9f7 3# any options on the cutthrough_delivery control
ff5929e3
JH
4CONTROL=
5
6# optional verify-callout
7OPT=
8
d4dc049f
JH
9.include DIR/aux-var/std_conf_prefix
10
528fde2a 11primary_hostname = myhost.test.ex
528fde2a 12
d16931c8 13log_selector = +received_recipients +all_parents
ff5929e3 14queue_only
5032d1cf 15
528fde2a
JH
16# ----- Main settings -----
17
18domainlist local_domains = test.ex : *.test.ex
19
24f66b4d 20acl_smtp_rcpt = ar
528fde2a
JH
21
22
24f66b4d
JH
23# ----- ACLs -----
24
25begin acl
26
27ar:
ff5929e3
JH
28 accept
29 control = cutthrough_deliveryCONTROL
30 OPT
24f66b4d
JH
31 logwrite = rcpt for $local_part@$domain
32
528fde2a
JH
33# ----- Routers -----
34
35begin routers
36
8a6b4e02
JH
37redir:
38 driver = redirect
39 local_parts = ^r
40 data = ${substr_1:$local_part}@$domain
41
5032d1cf
JH
42dns:
43 driver = dnslookup
ac9a0d91 44 domains = localhost.test.ex : localhost4.test.ex : thishost.test.ex
5032d1cf
JH
45 self = send
46 transport = smtp
47
528fde2a
JH
48all:
49 driver = manualroute
50 domains = ! +local_domains
5032d1cf 51 route_list = special.com HOSTIPV4 ; * 127.0.0.1
528fde2a 52 self = send
5032d1cf 53 transport = ${if eq {special_tpt}{$local_part} {smtp2}{smtp}}
511a6c14
JH
54 headers_remove = X-hdr-rtr
55 headers_add = X-hdr-rtr-new: $h_X-hdr-rtr:+++
f9334a28 56 errors_to = ""
528fde2a
JH
57 no_more
58
59
60# ----- Transports -----
61
62begin transports
63
64smtp:
65 driver = smtp
66 interface = HOSTIPV4
67 port = PORT_S
511a6c14 68 headers_add = ${if def:h_X-hdr-rtr {X-hdr-tpt-new: new} {}}
528fde2a 69
5032d1cf
JH
70smtp2:
71 driver = smtp
72 interface = HOSTIPV4
73 port = PORT_S
74
528fde2a
JH
75
76# End