Support transport-added headers under cutthrough delivery. Bug 1431
[users/heiko/exim.git] / test / confs / 5400
1 # Exim test configuration 5400
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 rfc1413_query_timeout = 0s
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11
12 # ----- Main settings -----
13
14 domainlist local_domains = test.ex : *.test.ex
15
16 acl_smtp_rcpt = ar
17
18
19 # ----- ACLs -----
20
21 begin acl
22
23 ar:
24         accept control = cutthrough_delivery
25         logwrite = rcpt for $local_part@$domain
26
27 # ----- Routers -----
28
29 begin routers
30
31 all:
32   driver = manualroute
33   domains = ! +local_domains
34   route_list = * 127.0.0.1
35   self = send
36   transport = smtp
37   headers_remove = X-hdr-rtr
38   headers_add =    X-hdr-rtr-new: $h_X-hdr-rtr:+++
39   no_more
40
41
42 # ----- Transports -----
43
44 begin transports
45
46 smtp:
47   driver = smtp
48   interface = HOSTIPV4
49   port = PORT_S
50   headers_add =  ${if def:h_X-hdr-rtr {X-hdr-tpt-new: new} {}}
51
52
53 # End