Testsuite: prepare shadow (vpath) builds
[exim.git] / test / confs / 5403
1 # Exim test configuration 5403
2
3 .include DIR/aux-var/std_conf_prefix
4
5 primary_hostname = myhost.test.ex
6
7 log_selector = +received_recipients
8
9 # ----- Main settings -----
10
11 domainlist local_domains = test.ex : *.test.ex
12
13 acl_smtp_rcpt = ar
14
15
16 # ----- ACLs -----
17
18 begin acl
19
20 ar:
21   warn  control =       cutthrough_delivery
22         logwrite =      rcpt for $local_part@$domain
23   warn  condition =     ${if eq {verify}{$local_part}}
24         verify =        recipient/callout=use_sender
25   accept
26
27 # ----- Routers -----
28
29 begin routers
30
31 dns:
32   driver = dnslookup
33   domains = localhost.test.ex : localhost4.test.ex : thishost.test.ex
34   self = send
35   transport = smtp
36
37 all:
38   driver = manualroute
39   domains = ! +local_domains
40   route_list = special.com HOSTIPV4 ; * 127.0.0.1
41   self = send
42   transport = ${if eq {special_tpt}{$local_part} {smtp2}{smtp}}
43   headers_remove = X-hdr-rtr
44   headers_add =    X-hdr-rtr-new: $h_X-hdr-rtr:+++
45   no_more
46
47
48 # ----- Transports -----
49
50 begin transports
51
52 smtp:
53   driver = smtp
54   interface = HOSTIPV4
55   port = PORT_S
56   headers_add =  ${if def:h_X-hdr-rtr {X-hdr-tpt-new: new} {}}
57
58 smtp2:
59   driver = smtp
60   interface = HOSTIPV4
61   port = PORT_S
62
63
64 # End