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