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