Testsuite: handle OpenSSL 1.1.1
[exim.git] / test / confs / 5400
1 # Exim test configuration 5400
2
3 # any options on the cutthrough_delivery control
4 CONTROL=
5
6 # optional verify-callout
7 OPT=
8
9 .include DIR/aux-var/std_conf_prefix
10
11 primary_hostname = myhost.test.ex
12
13 log_selector = +received_recipients +all_parents
14 queue_only
15
16 # ----- Main settings -----
17
18 domainlist local_domains = test.ex : *.test.ex
19
20 acl_smtp_rcpt = ar
21
22
23 # ----- ACLs -----
24
25 begin acl
26
27 ar:
28   accept
29         control = cutthrough_deliveryCONTROL
30         OPT
31         logwrite = rcpt for $local_part@$domain
32
33 # ----- Routers -----
34
35 begin routers
36
37 redir:
38   driver = redirect
39   local_parts = ^r
40   data =        ${substr_1:$local_part}@$domain
41
42 dns:
43   driver = dnslookup
44   domains = localhost.test.ex : localhost4.test.ex : thishost.test.ex
45   self = send
46   transport = smtp
47
48 all:
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
62 begin transports
63
64 smtp:
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
70 smtp2:
71   driver = smtp
72   interface = HOSTIPV4
73   port = PORT_S
74
75
76 # End