appendfile: taint-enforce file & directory options
[exim.git] / test / confs / 2013
CommitLineData
afda344b
PH
1# Exim test configuration 2013
2
3SERVER =
96eb7d2a 4PEX = :
afda344b 5
d4dc049f
JH
6.include DIR/aux-var/tls_conf_prefix
7
afda344b 8primary_hostname = myhost.test.ex
afda344b
PH
9
10# ----- Main settings -----
11
12acl_smtp_rcpt = accept
13
875512a3 14log_selector = +tls_peerdn+smtp_connection+incoming_port+received_recipients
afda344b
PH
15
16queue_only
17queue_run_in_order
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
e39fdc85
JH
33.ifdef REQUIRE
34cl_override:
35 driver = manualroute
36 route_data = HOSTIPV4
37 retry_use_local_part
38 transport = send_to_server
39 self = send
40.endif
41
afda344b
PH
42client:
43 driver = accept
44 condition = ${if eq {SERVER}{server}{no}{yes}}
45 retry_use_local_part
46 transport = send_to_server
47
48server:
49 driver = accept
50 retry_use_local_part
51 transport = local_delivery
52
53
54# ----- Transports -----
55
56begin transports
57
58local_delivery:
59 driver = appendfile
0d2e392e 60 file = DIR/test-mail/${bless:$local_part}
afda344b
PH
61 headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
62 user = CALLER
63
64send_to_server:
65 driver = smtp
66 allow_localhost
e39fdc85 67 hosts_override
afda344b
PH
68 hosts = 127.0.0.1
69 port = PORT_D
277b9979
JH
70 hosts_try_fastopen = :
71 hosts_noproxy_tls = PEX
e39fdc85 72 tls_try_verify_hosts = :
afda344b
PH
73
74# End