redirect router: taint-enforce filenames
[exim.git] / test / confs / 2138
CommitLineData
b7d3afcf
JH
1# Exim test configuration 2135
2
3SERVER =
4
5.include DIR/aux-var/tls_conf_prefix
6
7primary_hostname = myhost.test.ex
8
9# ----- Main settings -----
10
11acl_smtp_rcpt = accept
12
13log_selector = +tls_peerdn+smtp_connection+incoming_port+received_recipients
14
15queue_only
16queue_run_in_order
62970272 17remote_max_parallel = 1
b7d3afcf
JH
18
19smtp_accept_max_nonmail = 0
20
21tls_advertise_hosts = *
22
23# Set certificate only if server
24
25tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
26tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
27
28
29# ----- Routers -----
30
31begin routers
32
33client:
34 driver = manualroute
35 condition = ${if eq {SERVER}{server}{no}{yes}}
36 route_data = 127.0.0.1
37 self = send
38 retry_use_local_part
39 transport = send_to_server
40
41server:
42 driver = accept
43 retry_use_local_part
44 transport = local_delivery
45
46
47# ----- Transports -----
48
49begin transports
50
51local_delivery:
52 driver = appendfile
0d2e392e 53 file = DIR/test-mail/${bless:$local_part}
b7d3afcf
JH
54 headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
55 user = CALLER
56
57send_to_server:
58 driver = smtp
59 allow_localhost
b7d3afcf 60 port = PORT_D
277b9979
JH
61 hosts_try_fastopen = :
62 hosts_noproxy_tls = :
b7d3afcf
JH
63 tls_try_verify_hosts = :
64 max_rcpt = 1
65
66# End