testsuite: abstract out common conf settings
[exim.git] / test / confs / 5400
1 # Exim test configuration 5400
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 accept control = cutthrough_delivery
22 logwrite = rcpt for $local_part@$domain
23
24 # ----- Routers -----
25
26 begin routers
27
28 dns:
29 driver = dnslookup
30 domains = localhost.test.ex : localhost4.test.ex : thishost.test.ex
31 self = send
32 transport = smtp
33
34 all:
35 driver = manualroute
36 domains = ! +local_domains
37 route_list = special.com HOSTIPV4 ; * 127.0.0.1
38 self = send
39 transport = ${if eq {special_tpt}{$local_part} {smtp2}{smtp}}
40 headers_remove = X-hdr-rtr
41 headers_add = X-hdr-rtr-new: $h_X-hdr-rtr:+++
42 errors_to = ""
43 no_more
44
45
46 # ----- Transports -----
47
48 begin transports
49
50 smtp:
51 driver = smtp
52 interface = HOSTIPV4
53 port = PORT_S
54 headers_add = ${if def:h_X-hdr-rtr {X-hdr-tpt-new: new} {}}
55
56 smtp2:
57 driver = smtp
58 interface = HOSTIPV4
59 port = PORT_S
60
61
62 # End